Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISceneComponent

This represents a scene component.

This is used to decouple the dependency the scene is having on the different workloads like layers, post processes...

Hierarchy

Implemented by

Index

Properties

Methods

Properties

nameSearch playground for name

name: string

The name of the component. Each component must have a unique name.

sceneSearch playground for scene

scene: Scene

The scene the component belongs to.

Methods

disposeSearch playground for dispose

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

    Returns void

rebuildSearch playground for rebuild

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

    Returns void

registerSearch playground for register

  • register(): void
  • Register the component to one instance of a scene.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method