Difference between revisions of "NiAVObjectSetLocalRotation"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith |
imported>DragoonWraith |
||
Line 2: | Line 2: | ||
'''Syntax''' | '''Syntax''' | ||
(bool:success) NiAVObjectSetLocalRotationTEMP | (bool:success) NiAVObjectSetLocalRotationTEMP array_var:rotation short:nifID ''short:blockID'' | ||
(bool:success) NiAVObjSetLocRotT | (bool:success) NiAVObjSetLocRotT array_var:rotation short:nifID ''short:blockID'' | ||
Sets the local rotation of the specified <tt>NiAVObject</tt>-derived block. Since <tt>blockID</tt> defaults to 0, the NIF's root <tt>NiNode</tt>, and <tt>NiNode</tt> is derived from <tt>NiAVObject</tt>, this function will change the local rotation of the NIF's root if called with no explicit <tt>blockID</tt>. | Sets the local rotation of the specified <tt>NiAVObject</tt>-derived block. Since <tt>blockID</tt> defaults to 0, the NIF's root <tt>NiNode</tt>, and <tt>NiNode</tt> is derived from <tt>NiAVObject</tt>, this function will change the local rotation of the NIF's root if called with no explicit <tt>blockID</tt>. | ||
Line 33: | Line 29: | ||
NiAVObjectSetLocalRotation locRot nifID blockID | NiAVObjectSetLocalRotation locRot nifID blockID | ||
loop | loop | ||
== See Also == | == See Also == |