Compartir a través de


Rotate element

Defines a three-dimensional (3-D) rotation for a specified object.

Usage

<Rotate/>

Attributes

There are no attributes.

Child elements

There are no child elements.

Parent elements

Element
Properties

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

Element information

Minimum supported system
Windows Vista
Can be empty Yes

See also

Alpha Element

Elements

Offset Element

Scale Element