Renderable

Inherited: NativeBehaviour

Description

Note: This class must be a superclass only and shouldn’t be created manually.

Public Methods

AABBox

bound () const

Material *

material () const

int

priority () const

void

setMaterial (Material * material)

Static Methods

None

Methods Description

AABBox Renderable::bound () const

Returns a bound box of the renderable object.


:ref:`Material<api_Material>`* Renderable::material () const

Returns a first instantiated Material assigned to this Renderable.

See also setMaterial().


int Renderable::priority () const

Returns the prority value used to sort renadarble components before drawing. Lower values are rendered first and higher are rendered last.


void Renderable::setMaterial (Material * material)

Creates a new instance of material and assigns it.

See also *material*().