Microsoft DirectX 9.0 SDK Update (October 2004)

AnimationSet.GetPeriodicPosition Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Function GetPeriodicPosition( _
    ByVal position As Double _
) As Double
C# public double GetPeriodicPosition(
    double position
);
Managed C++ public: double GetPeriodicPosition(
    double position
);
JScript .NET 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

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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