Difference between revisions of "NiAVObjectGetLocalTranslation"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
 
(3 intermediate revisions by 2 users not shown)
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]]

Latest revision as of 12:21, 21 December 2023

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[edit | edit source]