Share via


KeyframedAnimationSet.GetRotationKeys(Int32) Method (Microsoft.DirectX.Direct3D)

Fills an array with rotational key data used for keyframe animation.

Definition

Visual Basic Public Function GetRotationKeys( _
    ByVal animation As Integer _
) As KeyQuaternion()
C# public KeyQuaternion[] GetRotationKeys(
    int animation
);
C++ public:
array<KeyQuaternion>^ GetRotationKeys(
    int animation
);
JScript public function GetRotationKeys(
    animation : int
) : KeyQuaternion[];

Parameters

animation System.Int32
Animation index.

Return Value

Microsoft.DirectX.Direct3D.KeyQuaternion[]
Array of KeyQuaternion structures that contain animation rotation data.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also