KeyframedAnimationSet.GetTranslationKey(Int32,Int32) Method (Microsoft.DirectX.Direct3D)
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 KeyVector3C# 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
The method call is invalid. For example, a method's parameter might contain an invalid value.