Stage

Available in: Interface Scripts Client Entity Scripts

Methods

Type Definitions

Properties:
Name Type Description
backgroundMode string
keyLight Scene.Stage.KeyLight
location Scene.Stage.Location
sunModel boolean
time Scene.Stage.Time

Methods

setLocation(longitude, latitude, altitude)
Parameters:
Name Type Description
longitude number
latitude number
altitude number
setOrientation(orientation)
Parameters:
Name Type Description
orientation Quat

Type Definitions

KeyLight
Type: object
Properties:
Name Type Description
color Vec3
intensity number
ambientIntensity number
direction Vec3
Location
Type: object
Properties:
Name Type Description
longitude number
latitude number
altitude number
Time
Type: object
Properties:
Name Type Description
hour number
day number