ShadowGeneratorSceneComponent

Defines the shadow generator component responsible to manage any shadow generators in a given scene.

Hierarchy

  • ShadowGeneratorSceneComponent

Implements

Index

Constructors

constructor

Find examples in Playground
  • Creates a new instance of the component for the given scene

    Parameters

    • scene: Scene

      Defines the scene to register the component in

    Returns ShadowGeneratorSceneComponent

Properties

name

Find examples in Playground
name: string

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

scene

Find examples in Playground
scene: Scene

The scene the component belongs to.

Methods

addFromContainer

Find examples in Playground

dispose

Find examples in Playground
  • dispose(): void

rebuild

Find examples in Playground
  • rebuild(): void

register

Find examples in Playground
  • register(): void

removeFromContainer

Find examples in Playground

serialize

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

    Parameters

    • serializationObject: any

      The object to serialize to

    Returns void

Generated using TypeDoc