Difference between revisions of "NiAVObjectSetLocalScale"

253 bytes added ,  19:41, 29 August 2010
no edit summary
imported>DragoonWraith
imported>DragoonWraith
 
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (bool:success) NifSetNthChildLocalScale float:Scale short:ChildID short:NifID
  (bool:success) NiAVObjectSetLocalScale float:scale short:nifID ''short:blockID''


Sets the local scale of the specified Child of the root node.
Sets the local scale of the <tt>NiAVObject</tt>-derived block specified by <tt>blockID</tt>. The default of <tt>blockID</tt>, 0, refers to the root, a <tt>NiNode</tt>, which is a <tt>NiAVObject</tt>-derived block, so this function can be used without an explicit <tt>blockID</tt> in order to set the scale of the root node.


== See Also ==
== See Also ==
* [[NifGetNthChildLocalScale]]
* [[NiAVObjectGetLocalScale]]




* [[NifSetNthChildLocalTransformTEMP]]
* [[NiAVObjectSetLocalTransform]]
* [[NifSetNthChildLocalTranslationTEMP]]
* [[NiAVObjectSetLocalTranslation]]
* [[NifSetNthChildLocalRotationTEMP]]
* [[NiAVObjectSetLocalRotation]]


[[Category:NifSE|SetNthChildScale]]
[[Category:NifSE|AVObjectSetLocalScale]]
[[Category:NifSE (Children)|SetNthChildScale]]
[[Category:NifSE (NiAVObject)|SetLocalScale]]