Share via


KeyframedAnimationSet.SetCallbackKey(Int32,KeyCallback) Method (Microsoft.DirectX.Direct3D)

Sets information about a specific callback in the animation set.

Definition

Visual Basic Public Sub SetCallbackKey( _
    ByVal index As Integer, _
    ByVal value As KeyCallback _
)
C# public void SetCallbackKey(
    int index,
    KeyCallback value
);
C++ public:
void SetCallbackKey(
    int index,
    KeyCallback value
);
JScript public function SetCallbackKey(
    index : int,
    value : KeyCallback
);

Parameters

index System.Int32
An integer that represents the animation index.
value Microsoft.DirectX.Direct3D.KeyCallback
A KeyCallback object that describes the animation's callback key.

Remarks

Exceptions

InvalidCallException

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