Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LensFlareSystemSceneComponent

Defines the lens flare scene component responsible to manage any lens flares in a given scene.

Hierarchy

  • LensFlareSystemSceneComponent

Implements

Index

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 LensFlareSystemSceneComponent

Properties

Readonly nameSearch playground for name

name: string

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

sceneSearch playground for scene

scene: Scene

The scene the component belongs to.

Methods

addFromContainerSearch playground for addFromContainer

disposeSearch playground for dispose

  • dispose(): 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

removeFromContainerSearch playground for removeFromContainer

  • removeFromContainer(container: AbstractScene, dispose?: boolean): void
  • Removes all the elements in the container from the scene

    Parameters

    • container: AbstractScene

      contains the elements to remove

    • Optional dispose: boolean

      if the removed element should be disposed (default: false)

    Returns void

serializeSearch playground for serialize

  • serialize(serializationObject: any): void
  • Serializes the component data to the specified json object

    Parameters

    • serializationObject: any

      The object to serialize to

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Static method