Share via


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

Fills an array with translational key data used for keyframe animation.

Definition

Visual Basic Public Function GetTranslationKeys( _
    ByVal animation As Integer _
) As KeyVector3()
C# public KeyVector3[] GetTranslationKeys(
    int animation
);
C++ public:
array<KeyVector3>^ GetTranslationKeys(
    int animation
);
JScript public function GetTranslationKeys(
    animation : int
) : KeyVector3[];

Parameters

animation System.Int32
Animation index.

Return Value

Microsoft.DirectX.Direct3D.KeyVector3[]
Array of KeyVector3 structures that contain animation translation data.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also