Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhysicsViewer

Used to show the physics impostor around the specific mesh

Hierarchy

  • PhysicsViewer

Index

Constructors

constructor

  • Creates a new PhysicsViewer

    Parameters

    • Optional scene: Scene

      defines the hosting scene

    Returns PhysicsViewer

Methods

disposeSearch playground for dispose

  • dispose(): void
  • Releases all resources

    Returns void

hideImpostorSearch playground for hideImpostor

  • Hides a specified physic impostor

    Parameters

    Returns void

showImpostorSearch playground for showImpostor

  • 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 property
  • Inherited method
  • Static property
  • Static method