KeyframedAnimationSet.SetRotationKey Method

Language:

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

Definition

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

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.KeyQuaternion
A KeyQuaternion object that contains the key frame's rotation 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.