Share via


KeyframedAnimationSet.SetScaleKey(Int32,Int32,KeyVector3) Method (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic Public Sub SetScaleKey( _
    ByVal animation As Integer, _
    ByVal key As Integer, _
    ByVal value As KeyVector3 _
)
C# public void SetScaleKey(
    int animation,
    int key,
    KeyVector3 value
);
C++ public:
void SetScaleKey(
    int animation,
    int key,
    KeyVector3 value
);
JScript public function SetScaleKey(
    animation : int,
    key : int,
    value : KeyVector3
);

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