Share via


AnimationSet.GetCallback(Double,CallbackSearchFlags) Method (Microsoft.DirectX.Direct3D)

Retrieves information about a specific callback in an animation set.

Definition

Visual Basic Public Function GetCallback( _
    ByVal position As Double, _
    ByVal flags As CallbackSearchFlags _
) As CallbackData
C# public CallbackData GetCallback(
    double position,
    CallbackSearchFlags flags
);
C++ public:
CallbackData GetCallback(
    double position,
    CallbackSearchFlags flags
);
JScript public function GetCallback(
    position : double,
    flags : CallbackSearchFlags
) : CallbackData;

Parameters

position System.Double
Position from which to find callbacks.
flags Microsoft.DirectX.Direct3D.CallbackSearchFlags
Callback search flags. This parameter can be set to one or more CallbackSearchFlags constants.

Return Value

Microsoft.DirectX.Direct3D.CallbackData
This method's return values are implemented by an application programmer. In general, if no error occurs, the method should return an empty structure; otherwise, it should throw an exception. For more information, see DirectXException.

Applies To

CompressedAnimationSet, KeyframedAnimationSet