Share via


AnimationSet.GetPeriodicPosition(Double) Method (Microsoft.DirectX.Direct3D)

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