LayerSceneComponent

Defines the layer scene component responsible to manage any layers in a given scene.

Hierarchy

  • LayerSceneComponent

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates a new instance of the component for the given scene

    Parameters

    • scene: Scene

      Defines the scene to register the component in

    Returns LayerSceneComponent

Properties

name

name: string

The component name helpfull to identify the component in the list of scene components.

scene

scene: Scene

The scene the component belongs to.

Methods

dispose

  • dispose(): void
  • Disposes the component and the associated ressources.

    Returns void

rebuild

  • rebuild(): void
  • Rebuilds the elements related to this component in case of context lost for instance.

    Returns void

register

  • register(): void

Generated using TypeDoc