AnimationSet.GetPeriodicPosition Method

Language:

Returns the time position in the local timeframe of an animation set.

Definition

Visual Basic Public Function GetPeriodicPosition( _
    ByVal position As Double _
) As Double
C# public double GetPeriodicPosition(
    double position
);
C++ public:
double GetPeriodicPosition(
    double position
);
JScript public function GetPeriodicPosition(
    position : double
) : double;

Parameters

position System.Double
Local time of the animation set.

Return Value

System.Double
Time position as measured in the timeframe of the animation set. This value is bounded by the period of the animation set.

Remarks

The time position this method returns can be used as the periodicPosition parameter of GetScaleRotateTranslate.

Applies To

CompressedAnimationSet, KeyframedAnimationSet

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center