Difference between revisions of "NiNodeGetNumChildren"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
m (NifGetNumChildren moved to NiNodeGetNumChildren: new name for function as of alpha 5.)
Tag: Manual revert
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (short:NumChildren) NifGetNumChildren short:NifID
  (short:numChildren) NiNodeGetNumChildren short:nifID ''short:blockID''


Returns the number of Children attached to the specified nif. Children are NiAVObject nodes, and make up the entirety of the actual mesh.
Returns the number of children associated with the indicated <tt>NiNode</tt>; a NIF's root is a <tt>NiNode</tt>, so this function may be used without specifying <tt>blockID</tt>, which defaults to 0, when dealing with the root node.


== See Also ==
== See Also ==
* [[NifDeleteNthChild]]
* [[NiNodeGetChildren]]
* [[NiNodeGetChildByName]]
* [[NiNodeDeleteChild]]


[[Category:NifSE|GetNumChildren]]
[[Category:NifSE|NodeGetNumChildren]]
[[Category:NifSE (Children)|GetNumChildren]]
[[Category:NifSE (NiNode)|GetNumChildren]]

Latest revision as of 12:00, 21 December 2023

This is a command from NifSE.

Syntax

(short:numChildren) NiNodeGetNumChildren short:nifID short:blockID

Returns the number of children associated with the indicated NiNode; a NIF's root is a NiNode, so this function may be used without specifying blockID, which defaults to 0, when dealing with the root node.

See Also[edit | edit source]