Class threedee.PointLight
Extends
.
A Point light
Defined in: PointLight.js.
Constructor Attributes | Constructor Name and Description |
---|---|
threedee.PointLight(color)
Constructs a new point light
|
Method Attributes | Method Name and Description |
---|---|
getColor()
Returns the light color
|
|
setColor(color)
Sets the light color
|
Class Detail
threedee.PointLight(color)
Constructs a new point light
- Parameters:
- {threedee.Color=} color
- Optional light color. Defaults to white.
Method Detail
{!threedee.Color}
getColor()
Returns the light color
- Returns:
- {!threedee.Color} The light color
setColor(color)
Sets the light color
- Parameters:
- {!threedee.Color} color
- The light color to set.