C3DSprite

Top  Previous  Next

Class Description:

A class for drawing 2D images on the 3D screen.

 

Class Methods:

_C3DSprite

Class destructor.

C3DSprite

Class constructor.

Draw

Renders the sprite.

Free

Free the sprite.

GetAngle

Returns the current rotation angle.

GetFrame

Returns the current animation frame.

GetModulateColor

Returns the modulation color and alpha value.

GetPosition

Returns the current position.

GetRotationCenter

Returns the rotation center point.

GetScaleFactor

Returns the scaling factor.

Load

Loads a sprite from an image file.

SetAngle

Sets the current rotation angle.

SetFrame

Sets the current animation frame of the sprite.

SetModulateColor

Sets the modulation color and alpha value.

SetPosition

Moves the sprite to a new position.

SetRotationCenter

Sets the rotation center point.

SetScaleFactor

Sets the scaling factor..

 

Class Member Variables:

*m_pData

void

Private internal data for the sprite

*m_pScreen

C3DScreen

A pointer to the 3D screen the sprite belongs to.

 

Located in:

ebx3d.incc

 

Class Hierarchy

C3DSprite