KeyframedAnimationSet.GetTranslationKey Method

Language:

Retrieves translation information for a specific key frame in the animation set.

Definition

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

Parameters

animation System.Int32
An integer that represents the animation index.
key System.Int32
An integer that represents the animation key frame.

Return Value

Microsoft.DirectX.Direct3D.KeyVector3
A KeyVector3 object that contains the key frame's translation data.

Remarks

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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.