Difference between revisions of "NiNodeGetChildByName"
Jump to navigation
Jump to search
lower-casing the parameters
imported>DragoonWraith |
imported>DragoonWraith (lower-casing the parameters) |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(short: | (short:childIndex) NiNodeGetChildByName string:name short:nifID ''short:blockID'' | ||
(short: | (short:childIndex) NiNodeGetChByName string:name short:nifID ''short:blockID'' | ||
Searches the <tt>NiNode</tt>-derived block indicated by <tt>blockID</tt> for a child (a <tt>NiAVObject</tt>-derived block) with the name specified. Returns -1 if no block by that name is found. If multiple blocks have the same name, this function will return only the first one. | Searches the <tt>NiNode</tt>-derived block indicated by <tt>blockID</tt> for a child (a <tt>NiAVObject</tt>-derived block) with the name specified. Returns -1 if no block by that name is found. If multiple blocks have the same name, this function will return only the first one. |