GraphicsModuleInterface

Inherits ModuleInterface and SystemModuleInterface.

Functions

Name

Description

load

Loads a mesh, an image or a font in the Graphics Module and returns a unique identifier to this resource.

setBackgroundColor

Sets the color of the background.

playAnimation

Plays an Animation on an Entity.

pauseAnimation

Pauses an Animation of an Entity.

stopAnimation

Stops an Animation of an Entity.

setAnimationCurrentTime

Sets the current playing time of an Animation played by an Entity.

isAnimationPlaying

Checks if an Entity is currently playing a certain Animation.

emitParticles

Emits particles described by a ParticleEmitter.

destroyParticles

Destroys all particles.

drawUIText

Draws text on the User Interface.

drawUILine

Draws a line on the User Interface.

drawUIRectangle

Draws a rectangle on the User Interface.

drawUIImage

Draws an image on the User Interface.