KeyframedAnimationSet.GetRotationKey Method

Language:

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

Definition

Visual Basic Public Function GetRotationKey( _
    ByVal animation As Integer, _
    ByVal key As Integer _
) As KeyQuaternion
C# public KeyQuaternion GetRotationKey(
    int animation,
    int key
);
C++ public:
KeyQuaternion GetRotationKey(
    int animation,
    int key
);
JScript public function GetRotationKey(
    animation : int,
    key : int
) : KeyQuaternion;

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.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.