Microsoft DirectX 9.0 SDK Update (October 2004)

KeyframedAnimationSet.KeyframedAnimationSet Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Creates a KeyframedAnimationSet.

Definition

Visual Basic .NET Public Sub New( _
    ByVal name As String, _
    ByVal ticksPerSecond As Double, _
    ByVal playback As PlaybackType, _
    ByVal numberAnimations As Integer, _
    ByVal callbackKeys() As KeyCallback _
)
C# public KeyframedAnimationSet(
    string name,
    double ticksPerSecond,
    PlaybackType playback,
    int numberAnimations,
    KeyCallback[] callbackKeys
);
Managed C++ public: KeyframedAnimationSet(
    String *name,
    double ticksPerSecond,
    PlaybackType playback,
    int numberAnimations,
    KeyCallback callbackKeys __gc[]
);
JScript .NET public function KeyframedAnimationSet(
    name : String,
    ticksPerSecond : double,
    playback : PlaybackType,
    numberAnimations : int,
    callbackKeys : KeyCallback[]
);

Parameters

name System.String. String that contains the name of the animation set.
ticksPerSecond System.Double. Number of key-frame ticks that elapse per second.
playback Microsoft.DirectX.Direct3D.PlaybackType. Type of the animation set playback loop. For more information, see PlaybackType.
numberAnimations System.Int32. Number of scale, rotate, and translate (SRT) animation sets.
callbackKeys Microsoft.DirectX.Direct3D.KeyCallback[]. Array that contains the callback keys.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center