WebGLControl.setAmbientLight

Syntax

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

Parameters

value. Color of the light to be set.

Description

The setAmbientLight method sets ambient color light.

Comments

Encompassing light is the environment light in the scene created by additional source.

Example

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

See also:

WebGLControl