Class PhysicsViewer
Hierarchy
- PhysicsViewer
Index
Constructors
Methods
Constructors
constructor
-
Creates a new PhysicsViewer
Parameters
-
Optional scene: Scene
defines the hosting scene
Returns PhysicsViewer
-
Methods
disposeSearch playground for dispose
-
Releases all resources
Returns void
hide ImpostorSearch playground for hideImpostor
-
Hides a specified physic impostor
Parameters
-
impostor: Nullable<PhysicsImpostor>
defines the impostor to hide
Returns void
-
show ImpostorSearch 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
-
Used to show the physics impostor around the specific mesh