Difference between revisions of "NiAVObjectSetLocalScale"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
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]]

Latest revision as of 19:41, 29 August 2010

This is a command from NifSE.

Syntax

(bool:success) NiAVObjectSetLocalScale float:scale short:nifID short:blockID

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

See Also[edit | edit source]