KeyframedAnimationSet.SetRotationKey Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET 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
);
Managed C++ public: void SetRotationKey(
    int animation,
    int key,
    KeyQuaternion value
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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