Environment

Summary

The background, skybox and props

Class Properties

NameReturn TypeDescription

current

Environment Read/Write

The current environment settings

Instance Properties

NameReturn TypeDescription

gradientColorA

Color Read/Write

The sky color at the top

gradientColorB

Color Read/Write

The skybox color at the horizon

gradientOrientation

Rotation Read/Write

The sky gradient orientation

fogColor

Color Read/Write

The fog color

fogDensity

number Read/Write

The fog density

ambientColor

Color Read/Write

The ambient light color

mainLightColor

Color Read/Write

The main light color

mainLightDirection

Rotation Read/Write

The main light direction

secondaryLightColor

Color Read/Write

The secondary light color

secondaryLightDirection

Rotation Read/Write

The secondary light direction

Last updated