Scene

Scene

new Scene

DOC_TBA

Members

backgroundColor :Color

The background color, which is only visible if there is no sky box, i.e., Scene#skyBox is undefined.
Default Value:
  • Color.BLACK
See:

farToNearRatio :Number

The far-to-near ratio of the multi-frustum. The default is 1,000.0.

mode :SceneMode

The current mode of the scene.

morphTime :Number

The current morph transition time between 2D/Columbus View and 3D, with 0.0 being 2D or Columbus View and 1.0 being 3D.

scene2D

DOC_TBA

skyAtmosphere :SkyAtmosphere

The sky atmosphere drawn around the globe.
Default Value:
  • undefined

skyBox :SkyBox

The SkyBox used to draw the stars.
Default Value:
  • undefined
See:

Methods

destroy

DOC_TBA

getAnimations

DOC_TBA

getCamera

DOC_TBA

getCanvas

DOC_TBA

getContext

DOC_TBA

getFrameState

Gets state information about the current scene. If called outside of a primitive's update function, the previous frame's state is returned.

getPrimitives

DOC_TBA

getScreenSpaceCameraController

DOC_TBA

getUniformState

DOC_TBA

initializeFrame

DOC_TBA

isDestroyed

DOC_TBA

pick

DOC_TBA

render

DOC_TBA

<static> clearPasses

DOC_TBA