Class: AmbientLight

AmbientLight()

Ambient light source.

Constructor

new AmbientLight()

Creates a new ambient light.
Source:

Classes

AmbientLight

Methods

getStrength() → {number}

Returns the ambient strength multiplier.
Source:
Returns:
Type
number

setStrength(strength) → {void}

Sets the ambient strength multiplier.
Parameters:
Name Type Description
strength number Ambient strength.
Source:
Throws:
When the strength is invalid.
Type
TypeError
Returns:
Type
void