Share via


KeyframedAnimationSet.GetNumberTranslationKeys(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the number of translation keys in the specified keyframe animation.

Definition

Visual Basic Public Function GetNumberTranslationKeys( _
    ByVal animation As Integer _
) As Integer
C# public int GetNumberTranslationKeys(
    int animation
);
C++ public:
int GetNumberTranslationKeys(
    int animation
);
JScript public function GetNumberTranslationKeys(
    animation : int
) : int;

Parameters

animation System.Int32
Animation index.

Return Value

System.Int32
Number of translation keys in the specified keyframe animation.