Options
All
  • Public
  • Public/Protected
  • All
Menu

Used to show the physics impostor around the specific mesh

Hierarchy

  • PhysicsViewer

Index

Constructors

  • Creates a new PhysicsViewer

    Parameters

    • Optional scene: Scene

      defines the hosting scene

    Returns PhysicsViewer

Methods

  • dispose(): void
  • Releases all resources

    Returns void

  • Hides a specified physic impostor

    Parameters

    Returns void

  • Renders a specified physic impostor

    Parameters

    • impostor: PhysicsImpostor

      defines the impostor to render

    • Optional targetMesh: Mesh

      defines the mesh represented by the impostor

    Returns Nullable<AbstractMesh>

    the new debug mesh used to render the impostor

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited constructor
  • Static method

Settings

Theme