Difference between revisions of "NiAVObjectGetLocalTransform"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
m (NifGetNthChildLocalTransform moved to NiAVObjectGetLocalTransform: new name for function as of alpha 5.)
Tag: Manual revert
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


'''Syntax'''
'''Syntax'''
  (matrix:LocalTransform) NifGetNthChildLocalTransform short:ChildID short:NifID
  (matrix:localTransform) NiAVObjectGetLocalTransform short:nifID ''short:blockID''
(matrix:localTransform) NiAVObjGetLocTransf short:nifID ''short:blockID''


Returns the local transform matrix for the specified Child of the root of the nif.
Returns the local transform matrix for the specified Child of the root of the nif.
Line 9: Line 10:


== See Also ==
== See Also ==
* [[NifSetNthChildLocalTransformTEMP]]
* [[NiAVObjectSetLocalTransform]]




* [[NifGetNthChildLocalTranslation]]
* [[NiAVObjectGetLocalTranslation]]
* [[NifGetNthChildLocalRotation]]
* [[NiAVObjectGetLocalRotation]]
* [[NifGetNthChildLocalScale]]
* [[NiAVObjectGetLocalScale]]


[[Category:NifSE|GetNthChildLocalTransform]]
[[Category:NifSE|AVObjectGetLocalTransform]]
[[Category:NifSE (Children)|GetNthChildLocalTransform]]
[[Category:NifSE (NiAVObject)|GetLocalTransform]]

Latest revision as of 12:20, 21 December 2023

This is a command from NifSE.

Syntax

(matrix:localTransform) NiAVObjectGetLocalTransform short:nifID short:blockID
(matrix:localTransform) NiAVObjGetLocTransf short:nifID short:blockID

Returns the local transform matrix for the specified Child of the root of the nif.

The matrix is a 4x4 array of float values.

See Also[edit | edit source]