Stage

Description

The Stage class is no longer used.

Provided as a property in the Scene API.

Deprecated: This class is deprecated and will be removed.

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

Constructor
new Stage( )

Properties

Name Type Summary
backgroundMode string Background mode.

Deprecated: This property is deprecated and will be removed.

keyLight Stage.KeyLight Key light.

Deprecated: This property is deprecated and will be removed.

location Stage.Location Location.

Deprecated: This property is deprecated and will be removed.

sunModel boolean Sun model.

Deprecated: This property is deprecated and will be removed.

time Stage.Time Time.

Deprecated: This property is deprecated and will be removed.

Methods

Name Return Value Summary
setLocation None

Deprecated: This method is deprecated and will be removed.

setOrientation None

Deprecated: This method is deprecated and will be removed.

Type Definitions

KeyLight
Type: object

Stage key light.

Properties

Name Type Summary
color Vec3 Color.
intensity number Intensity.
ambientIntensity number Ambient intensity.
direction Vec3 Direction.
Location
Type: object

Stage location.

Properties

Name Type Summary
longitude number Longitude.
latitude number Latitude.
altitude number Altitude.
Time
Type: object

Stage time.

Properties

Name Type Summary
hour number Hour.
day number Day.

Method Details

(static) setLocation( longitude, latitude, altitude )

Deprecated: This method is deprecated and will be removed.

Parameters

Name Type Description
longitude number Longitude.
latitude number Latitude.
altitude number Altitude.
(static) setOrientation( orientation )

Deprecated: This method is deprecated and will be removed.

Parameters

Name Type Description
orientation Quat Orientation.