Class Scene

Hierarchy

  • Scene

Constructors

  • The camera and the earth are loaded by default inside the constructor.

    Parameters

    • engine: Engine

      The engine the scene belongs to.

    Returns Scene

Properties

_globe: RayCastedGlobe

Earth is the root entity in the scene.

ambientLight: AmbientLight

Ambient light in the scene.

background: Background

The background of the scene, the default is the skybox.

camera: Camera

Cameras in the scene, we only consider the case where there is only one camera in the scene.

engine: Engine

The engine the scene belongs to.

pointLight: PointLight

Point lights in the scene.

shaderData: ShaderData = ...

Accessors

Generated using TypeDoc