Export (0) Print
Expand All

Sprite Class

Provides methods and properties that simplify the process of drawing sprites using Direct3D.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

public ref class Sprite sealed : IDisposable
public final class Sprite implements IDisposable
public final class Sprite implements IDisposable
Not applicable.

A sprite is a texture mapped to a 2-D surface. Typically used for animation and billboarding, since multiple sprites can move within a larger image.

Typically, the application first calls Begin, which allows control over the device render state, alpha blending, and sprite transformation and sorting. Then, for each sprite to display, the application calls Draw, which can be called repeatedly to store any number of sprites. To display the batched sprites to the device, the application calls End or Flush.

TopicLocation
How to: Use Sprites.NET Compact Framework
How to: Use Sprites.NET Compact Framework
How to: Use Sprites.NET Compact Framework

The following code example shows how to create a sprite. For more information about creating and using sprites see How to: Use Sprites.

No code example is currently available or this language may not be supported.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft