Class: IllumRenderable

IllumRenderable

new IllumRenderable(myTexture, myNormalMap) → {IllumRenderable}

Default Constructor

LightRenderable with light illumination

Parameters:
Name Type Description
myTexture Texture Texture to be associated by object.
myNormalMap type normal map resource id
Source:
Returns:
new instance of IllumRenderable
Type
IllumRenderable

Methods

draw(aCamera) → {void}

Draw function called by GameLoop
Parameters:
Name Type Description
aCamera Camera camera to draw to
Source:
Returns:
Type
void

getMaterial() → {Material}

Return the Renderable material
Source:
Returns:
IllumRenderable material
Type
Material