Difference between revisions of "NiAVObjectSetLocalTransform"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith (→Notes: Rotation -> Transform) |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(bool:success) | (bool:success) NiAVObjectSetLocalTransform array_var:transform short:nifID ''short:blockID'' | ||
(bool:success) NiAVObjSetLocTransf array_var:transform short:nifID ''short:blockID'' | |||
(bool:success) | |||
Sets the local transform matrix of the specified <tt>NiAVObject</tt>-derived block. The default value of <tt>blockID</tt>, 0, refers to the NIF's root, a <tt>NiNode</tt>, and so this function can be used without an explicit <tt>blockID</tt> to set the local transform of the root. | Sets the local transform matrix of the specified <tt>NiAVObject</tt>-derived block. The default value of <tt>blockID</tt>, 0, refers to the NIF's root, a <tt>NiNode</tt>, and so this function can be used without an explicit <tt>blockID</tt> to set the local transform of the root. | ||
== See Also == | == See Also == |