Difference between revisions of "NiAVObjectGetLocalScale"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (float:LocalScale) NifGetNthChildLocalScale short:ChildID short:NifID
  (float:localScale) NiAVObjectGetLocalScale short:nifID ''short:blockID''
(float:localScale) NiAVObjGetLocScale short:nifID ''short:blockID''


Returns the local scale of the specified Child of the root node.
Returns the local scale of the specified <tt>NiAVObject</tt>-derived block. The <tt>blockID</tt> argument defaults to 0, indicating the root. The root is a <tt>NiNode</tt>, which is derived from <tt>NiAVObject</tt>, and so this function will work on the root.


== See Also ==
== See Also ==
* [[NifSetNthChildLocalScale]]
* [[NiAVObjectSetLocalScale]]




* [[NifGetNthChildLocalTransform]]
* [[NiAVObjectGetLocalTransform]]
* [[NifGetNthChildLocalTranslation]]
* [[NiAVObjectGetLocalTranslation]]
* [[NifGetNthChildLocalRotation]]
* [[NiAVObjectGetLocalRotation]]


[[Category:NifSE|GetNthChildLocalScale]]
[[Category:NifSE|AVObjectGetLocalScale]]
[[Category:NifSE (Children)|GetNthChildLocalScale]]
[[Category:NifSE (NiAVObject)|GetLocalScale]]

Latest revision as of 10:35, 29 August 2010

This is a command from NifSE.

Syntax

(float:localScale) NiAVObjectGetLocalScale short:nifID short:blockID
(float:localScale) NiAVObjGetLocScale short:nifID short:blockID

Returns the local scale of the specified NiAVObject-derived block. The blockID argument defaults to 0, indicating the root. The root is a NiNode, which is derived from NiAVObject, and so this function will work on the root.

See Also[edit | edit source]