Partager via


Offset element

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

Usage

<Offset/>

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 Offset. For example, the following excerpt from the provided custom XML file demonstrates how to linearly interpolate the value of the Offset property. In this case, the Offset element takes on several Point child elements.

...
  <Offset type="float3" evaluation="Linear" >
    <Point time="0.000000" value="-0.209169, 0.114583, 0.000000" />
    <Point time="0.900000" value="-0.209169, 0.114583, 0.000000" />
    <Point time="1.000000" value="-0.209169, 0.114583, 0.000000" />
  </Offset>
...

Element information

Minimum supported system
Windows Vista
Can be empty Yes

See also

Alpha Element

Elements

Rotate Element

Scale Element