Difference between revisions of "NiAVObjectGetNumProperties"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(New page: This is a command from NifSE. '''Syntax''' (short:numProperties) NiAVObjectGetNumProperties short:nifID ''short:blockID'' (short:numProperties) NiAVObjGetNumProps sh...)
 
imported>DragoonWraith
Line 8: Line 8:


== See Also ==
== See Also ==
* [[NiAVObjectProperties]]
* [[NiAVObjectGetProperties]]
* [[NiAVObjectAddProperty]]
* [[NiAVObjectAddProperty]]
* [[NiAVObjectDeleteProperty]]
* [[NiAVObjectDeleteProperty]]

Revision as of 12:31, 31 August 2010

This is a command from NifSE.

Syntax

(short:numProperties) NiAVObjectGetNumProperties short:nifID short:blockID
(short:numProperties) NiAVObjGetNumProps short:nifID short:blockID

Returns the number of NiProperty-derived blocks attached to the specified NiAVObject-derived block. Because blockID defaults to 0, the NIF's NiNode root, and NiNode is derived from NiAVObject, this function can be used without the optional argument if seeking the number of NiProperty-derived blocks attached to the root. However, most often the root of a NIF does not actually have any properties; these are usually found on the root's children.

See Also