Difference between revisions of "NiNodeGetChildByName"

No change in size ,  12:51, 31 August 2010
lower-casing the parameters
imported>DragoonWraith
imported>DragoonWraith
(lower-casing the parameters)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (short:ChildIndex) NiNodeGetChildByName string:Name short:NifID ''short:blockID''
  (short:childIndex) NiNodeGetChildByName string:name short:nifID ''short:blockID''
  (short:ChildIndex) NiNodeGetChByName string:Name short:NifID ''short:blockID''
  (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.