Share via


KeyframedAnimationSet.GetScaleKey(Int32,Int32) Method (Microsoft.DirectX.Direct3D)

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

Definition

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

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.KeyVector3
A KeyVector3 object that contains the key frame's scale data.

Remarks

Exceptions

InvalidCallException

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