C# Class Artemis.Engine.Graphics.RenderableObject

Inheritance: ResolutionRelativeObject
Mostra file Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Public Properties

Property Type Description
DisallowMultipleRenders bool
OnLayerTargetChanged LayerTargetChangedDelegate
SpriteProperties SpriteProperties
Visible bool

Public Methods

Method Description
AddRenderer ( Renderer renderer ) : void

Add a renderer to this object.

ClearRenderer ( ) : void

Remove all renderers from this object.

Kill ( ) : void
RemoveRenderer ( Renderer renderer ) : void

Remove a renderer from this object.

Render ( ) : void

An abstract method for rendering this object.

RenderableObject ( ) : System
SetRenderer ( Renderer renderer ) : void

Set the renderer for this object.

Private Methods

Method Description
InternalRender ( HashSet seenObjects ) : void

Method Details

AddRenderer() public method

Add a renderer to this object.
public AddRenderer ( Renderer renderer ) : void
renderer Renderer
return void

ClearRenderer() public method

Remove all renderers from this object.
public ClearRenderer ( ) : void
return void

Kill() public method

public Kill ( ) : void
return void

RemoveRenderer() public method

Remove a renderer from this object.
public RemoveRenderer ( Renderer renderer ) : void
renderer Renderer
return void

Render() public method

An abstract method for rendering this object.
public Render ( ) : void
return void

RenderableObject() public method

public RenderableObject ( ) : System
return System

SetRenderer() public method

Set the renderer for this object.
public SetRenderer ( Renderer renderer ) : void
renderer Renderer
return void

Property Details

DisallowMultipleRenders public_oe property

Whether or not this object can be safely rendered multiple times in a single game tick.
public bool DisallowMultipleRenders
return bool

OnLayerTargetChanged public_oe property

The event fired when the target of the layer is changed.
public LayerTargetChangedDelegate OnLayerTargetChanged
return LayerTargetChangedDelegate

SpriteProperties public_oe property

The components that specify how this object is to be rendered.
public SpriteProperties SpriteProperties
return SpriteProperties

Visible public_oe property

Whether or not this object is visible.
public bool Visible
return bool