WebGLControl.setDirectLight

Syntax

setDirectLight(value: PP.Color || String);

Parameters

value. Color of the light to be set.

Description

The setDirectLight method sets direct light color.

Comments

Direct light is a beam of parallel rays towards the glow.

Example

The example of method use is given in description of the WebGLControl.renderMesh method.

See also:

WebGLControl