Difference between revisions of "NiAVObjectSetLocalRotation"

Jump to navigation Jump to search
998 bytes removed ,  12:16, 21 January 2011
no edit summary
imported>DragoonWraith
imported>DragoonWraith
 
'''Syntax'''
(bool:success) NiAVObjectSetLocalRotationTEMP floatarray_var:a11rotation floatshort:a12nifID float''short:a13 \blockID''
float:a21 float:a22 float:a23 \
float:a31 float:a32 float:a33 short:nifID ''short:blockID''
(bool:success) NiAVObjSetLocRotT floatarray_var:a11rotation floatshort:a12nifID float''short:a13 \blockID''
float:a21 float:a22 float:a23 \
float:a31 float:a32 float:a33 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>.
NiAVObjectSetLocalRotation locRot nifID blockID
loop
 
== Notes ==
* Because OBSE Plug-Ins cannot currently accept arrays as arguments, <tt>NiAVObjectSetLocalRotation</tt>, as it would properly exist, cannot be implemented. <tt>NiAVObjectSetLocalRotationTEMP</tt> is provided as an alternative; it will be deprecated in favor of <tt>NiAVObjectSetLocalRotation</tt> when OBSE adds the ability to take array arguments, but backwards compatibility will be maintained.
** Due to Wiki software limitations, the syntax for <tt>NiAVObjectSetLocalRotationTEMP</tt> cannot be written on one line. Furthermore, it would be hideous to attempt to read that way in any case. However, the CS '''requires''' that all 11 arguments appear on a single line.
 
== See Also ==

Navigation menu