A visual representation of the sky.

Constructors

Properties

Constructors

  • Parameters

    • device: GraphicsDevice

      The graphics device.

    • scene: Scene

      The scene owning the sky.

    • node: GraphNode

      The graph node of the sky mesh instance.

    • texture: Texture

      The texture of the sky.

    • type: string

      The type of the sky. One of the SKYMESH_* constants.

    Returns SkyMesh

Properties

meshInstance: MeshInstance = null

Mesh instance representing the visuals of the sky.