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

name

Find examples in Playground
name: string

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

scene

Find examples in Playground
scene: Scene

The scene the component belongs to.

Methods

dispose

Find examples in Playground
  • dispose(): void
  • Disposes the component and the associated ressources.

    Returns void

rebuild

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

    Returns void

register

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

    Returns void

Generated using TypeDoc