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.

16.90.5.39 - rotation (SceneScript element)

 <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...

 <rotation 0 45 0  <axis Define objects affected by the axis;  </axis

...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:

 <axis  <rotation 0 45 0 Define objects affected by the axis;  </axis

See also  <axis,  <scale and  <translate.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 211