NiAVObjectGetPropertyByType
(Redirected from NifNthChildHasMaterial)
Jump to navigation
Jump to search
This is a command from NifSE.
Syntax
(short:propertyID) NiAVObjectGetPropertyByType short:typeID short:nifID short:blockID (short:propertyID) NiAVObjGetPropByType short:typeID short:nifID short:blockID
Searches the specified NiAVObject-derived block for a property of the given type. Use GetNifTypeIndex to get the desired typeID. The blockID argument defaults to 0, indicating the root. The root is usually a NiNode, which is derived from NiAVObject; thus, this function will work with the default argument.