This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. |
<rotation X Y Z>
or
<rotate X Y Z>
This language element may be used inside a <trait> block.
Each of X, Y and Z may be an expression.
<rotation> sets the rotation for an axis, rect, sphere or tri <object> . Rotation is defined in degrees, and may be fractional (for example, 45.5 degrees is okay.) Rotation does not affect lights, because they are "round featureless point sources" which means that they don't have a direction, per se.
When defined prior to the instantiation of an axis, like this...
...then the rotate command affects the <axis> itself. In order to rotate an object within the axis, rather than the <axis> itself, you would do this instead:
See also <axis> , <scale> and <translate> .