Difference between revisions of "NiAVObjectGetLocalTranslation"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
imported>DragoonWraith
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (vector:LocalTranslation) NifGetNthChildLocalTranslation short:ChildID short:NifID
  (vector:localTranslation) NiAVObjectGetLocalTranslation short:nifID ''short:blockID''
(vector:localTranslation) NiAVObjGetLocTransl short:nifID ''short:blockID''


Returns the vector of the local translation of the specified Child of the root.
Returns the vector of the local translation of the specified Child of the root.
Line 9: Line 10:


== See Also ==
== See Also ==
* [[NifSetNthChildLocalTranslationTEMP]]
* [[NiAVObjectSetLocalTranslation]]




* [[NifGetNthChildLocalTransform]]
* [[NiAVObjectGetLocalTransform]]
* [[NifGetNthChildLocalRotation]]
* [[NiAVObjectGetLocalRotation]]
* [[NifGetNthChildLocalScale]]
* [[NiAVObjectGetLocalScale]]


[[Category:NifSE|GetNthChildLocalTranslation]]
[[Category:NifSE|AVObjectGetLocalTranslation]]
[[Category:NifSE (Children)|GetNthChildLocalTranslation]]
[[Category:NifSE (NiAVObject)|GetLocalTranslation]]

Revision as of 10:39, 29 August 2010

This is a command from NifSE.

Syntax

(vector:localTranslation) NiAVObjectGetLocalTranslation short:nifID short:blockID
(vector:localTranslation) NiAVObjGetLocTransl short:nifID short:blockID

Returns the vector of the local translation of the specified Child of the root.

The vector is a length 3 array of floats, with the format [x y z].

See Also