AnimationSet.GetPeriodicPosition Method |
Language: |
Returns the time position in the local timeframe of an animation set.
Visual Basic Public Function GetPeriodicPosition( _
ByVal position As Double _
) As DoubleC# public double GetPeriodicPosition(
double position
);C++ public:
double GetPeriodicPosition(
double position
);JScript public function GetPeriodicPosition(
position : double
) : double;
position System.Double
Local time of the animation set.
System.Double
Time position as measured in the timeframe of the animation set. This value is bounded by the period of the animation set.
The time position this method returns can be used as the periodicPosition parameter of GetScaleRotateTranslate.
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