Stage

Description

Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts

Constructor
new Stage( )

Properties

Name Type Summary
backgroundMode string
keyLight Scene.Stage.KeyLight
location Scene.Stage.Location
sunModel boolean
time Scene.Stage.Time

Methods

Name Return Value Summary
setLocation None
setOrientation None

Type Definitions

KeyLight
Type: object

 

Properties

Name Type Summary
color Vec3
intensity number
ambientIntensity number
direction Vec3
Location
Type: object

 

Properties

Name Type Summary
longitude number
latitude number
altitude number
Time
Type: object

 

Properties

Name Type Summary
hour number
day number

Method Details

(static) setLocation( longitude, latitude, altitude )

Parameters

Name Type Description
longitude number
latitude number
altitude number
(static) setOrientation( orientation )

Parameters

Name Type Description
orientation Quat