| KeyframedAnimationSet.GetRotationKey Method | Language: | 
Retrieves rotation information for a specific key frame in the animation set.
Visual Basic Public Function GetRotationKey( _ 
ByVal animation As Integer, _
ByVal key As Integer _
) As KeyQuaternionC# public KeyQuaternion GetRotationKey( 
int animation,
int key
);C++ public: 
KeyQuaternion GetRotationKey(
int animation,
int key
);JScript public function GetRotationKey( 
animation : int,
key : int
) : KeyQuaternion;
animation System.Int32 
An integer that represents the animation index.key System.Int32 
An integer that represents the animation key frame.
Microsoft.DirectX.Direct3D.KeyQuaternion
A KeyQuaternion object that contains the key frame's rotation data.
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.