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