![]() |
![]() |
![]() |
AnimationSet.GetPeriodicPosition Method |
Language: |
Returns the time position in the local timeframe of an animation set.
Visual Basic .NET Public Function GetPeriodicPosition( _
ByVal position As Double _
) As DoubleC# public double GetPeriodicPosition(
double position
);Managed C++ public: double GetPeriodicPosition(
double position
);JScript .NET 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
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center