Difference between revisions of "NiAVObjectGetPropertyByType"
Jump to navigation
Jump to search
imported>DragoonWraith (New page: This is a command from NifSE. '''Syntax''' (string:MaterialName) NifGetNthChildMaterial short:ChildID short:NifID Returns the name of the NiMaterialProperty of the s...) |
imported>DragoonWraith |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
( | (short:propertyID) NiAVObjectGetPropertyByType short:typeID short:nifID ''short:blockID'' | ||
(short:propertyID) NiAVObjGetPropByType short:typeID short:nifID ''short:blockID'' | |||
Searches the specified <tt>NiAVObject</tt>-derived block for a property of the given type. Use [[GetNifTypeIndex]] to get the desired <tt>typeID</tt>. The <tt>blockID</tt> argument defaults to 0, indicating the root. The root is usually a <tt>NiNode</tt>, which is derived from <tt>NiAVObject</tt>; thus, this function will work with the default argument. | |||
== See Also == | == See Also == | ||
* [[ | * [[NiAVObjectGetProperties]] | ||
* [[ | * [[NiAVObjectAddProperty]] | ||
* [[NiAVObjectDeleteProperty]] | |||
[[Category:NifSE| | [[Category:NifSE|AVObjectGetPropertyByType]] | ||
[[Category:NifSE ( | [[Category:NifSE (NiAVObject)|GetPropertyByType]] | ||
[[Category:NifSE (NiProperty)|!AVObjectGetPropertyByType]] |
Latest revision as of 20:46, 20 January 2011
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.