Sprite.Sprite Constructor

Language:

Initializes a new instance of the Sprite class.

Definition

Visual Basic Public Sub New( _
    ByVal device As Device _
)
C# public Sprite(
    Device device
);
C++ public:
 Sprite(
    Devicedevice
);
JScript public function Sprite(
    device : Device
);

Parameters

device Microsoft.DirectX.Direct3D.Device
Reference to an instance of a Device object.

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