PhysicsEngineSceneComponent

Defines the physics engine scene component responsible to manage a physics engine

Hierarchy

  • PhysicsEngineSceneComponent

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 PhysicsEngineSceneComponent

Properties

name

name: string

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

scene

scene: Scene

The scene the component belongs to.

Methods

dispose

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