TransformByAttributeAnimation Element

Enables you to perform index-skewed time and value transformations to a referenced animation.

Syntax

<TransformByAttributeAnimation
    Attribute="{Height | Index | Width | X | Y}"
    Delay="float"
    Filter="{All | Alpha | Color | Position | Rotate | Scale | Size}"
    Magnitude="float"
    MaxDelay="float"
    MaxMagnitude="float"
    MaxTimeScale="float"
    Override="float"
    Source="Animation element"
    TimeScale="float"
    Type="AnimationEventType enum"
    ValueTransformer="MathTransformer element"
/>

Attributes

Attribute

Specifies the value used as the source of the transform. This value must be a member of the TransformAttribute enumeration.

Delay

Specifies the amount by which all keyframes from the source past time 0.0 will have their time offset. This value must be a member of the AnimationEventType enumeration.

Filter

When processing the keyframes from the source, only keyframes that match this filter will be transformed. This value must be a member of the KeyframeFilter enumeration.

Index

If this value is set, this index determines the transform instead of the index of the item relative to its peers.

Magnitude

Specifies the amount by which all keyframes from the source will have their value multiplied.

MaxDelay

When determining the per-index delay, specifies the maximum delay value that will be applied.

MaxMagnitude

When determining the per-index magnitude, specifies the maximum scalar value that will be applied.

MaxTimeScale

When determining the per-index time scale, specifies the maximum delay value that will be applied.

Override

When set, this value determines the transform rather than using the dynamically determined attribute.

Source

Specifies the reference to an Animation element.

TimeScale

Specifies the amount by which all keyframes from the source will have their time multiplied.

Type

Indicates the type of event that this animation will respond to. This value is a member of the AnimationEventType enumeration. This value is read-only.

ValueTransformer

Specifies a reference to a MathTransformer element that lets you modify the value used to determine the animation transformations.

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also