Class: HemisphereLight

HemisphereLight

new HemisphereLight(options)

Hemisphere light source category.

Name Type Description
options Object optional

Contains the following attributes:

Name Type Default Description
skyColor Color Color(0.7,0.7,0.7) optional

Used to set the color of the sky light source

groundColor Color Color(0.2,0.2,0.2) optional

Used to set the color of the ground light source

Members

groundColorColor

Get or set the color of the ground light source.

Default Value:
Color(0.2,0.2,0.2)

readonly idString

Obtain the light source ID.

readonly lightTypeLightSourceType

Obtain the type of light source.

skyColorColor

Get or set the color of the sky light source.

Default Value:
Color(0.7,0.7,0.7)