Rotate Element
Defines a three-dimensional (3-D) rotation for a specified object.
Syntax
<Rotate
value="0.000000, 0.000000, 0.000000" />
Attributes
value
The rotation vector in the form (x, y, z). The default value is (0, 0, 0)
Parent/Child Elements
Hierarchy | Elements |
Parent | Properties |
Child | None |
Remarks
You may also apply key-frame animation to properties such as Rotate. For example, the following excerpt from the provided custom XML file demonstrates how to linearly interpolate the value of the Rotate property. In this case, the Rotate element takes on several Point child elements.
...
<Rotate type="float3" evaluation="Linear" >
<Point time="0.000000" value="-0.174533, 0.000000, 0.000000" />
<Point time="0.900000" value="0.000000, 0.000000, 0.000000" />
<Point time="1.000000" value="0.000000, 0.000000, 0.000000" />
</Rotate>
...
Requirements
Client: Windows Vista
See Also