KeyframedAnimationSet.SetTranslationKey Method

Language:

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

Definition

Visual Basic Public Sub SetTranslationKey( _
    ByVal animation As Integer, _
    ByVal key As Integer, _
    ByVal value As KeyVector3 _
)
C# public void SetTranslationKey(
    int animation,
    int key,
    KeyVector3 value
);
C++ public:
void SetTranslationKey(
    int animation,
    int key,
    KeyVector3 value
);
JScript public function SetTranslationKey(
    animation : int,
    key : int,
    value : KeyVector3
);

Parameters

animation System.Int32
An integer that represents the animation index.
key System.Int32
An integer that represents the animation key frame.
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.