CompressedAnimationSet.CompressedAnimationSet Constructor |
Language: |
Creates a CompressedAnimationSet object that stores key-frame data in a compressed format.
Visual Basic Public Sub New( _
ByVal name As String, _
ByVal ticksPerSecond As Double, _
ByVal playback As PlaybackType, _
ByVal compressedData As GraphicsStream, _
ByVal callbackKeys() As KeyCallback _
)C# public CompressedAnimationSet(
string name,
double ticksPerSecond,
PlaybackType playback,
GraphicsStream compressedData,
KeyCallback[] callbackKeys
);C++ public:
CompressedAnimationSet(
String^ name,
double ticksPerSecond,
PlaybackType playback,
GraphicsStream^ compressedData,
array<KeyCallback>^ callbackKeys
);JScript public function CompressedAnimationSet(
name : String,
ticksPerSecond : double,
playback : PlaybackType,
compressedData : GraphicsStream,
callbackKeys : KeyCallback[]
);
name System.String
Animation set name.ticksPerSecond System.Double
Number of key-frame ticks that elapse per second.playback Microsoft.DirectX.Direct3D.PlaybackType
Type of the animation set playback loop. See PlaybackType.compressedData Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains the animation set graphics data.callbackKeys Microsoft.DirectX.Direct3D.KeyCallback[]
Array of KeyCallback objects that store user callback data.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center