Skip to content

three-physics-debug-view overview


Table of contents


utils

ThreePhysicsDebugView (class)

Signature

export declare class ThreePhysicsDebugView {
  private constructor(private readonly world: Gg3dWorld<ThreeVisualTypeDocRepo>)
}

startDebugView (static method)

Signature

public static startDebugView(
    world: Gg3dWorld<ThreeVisualTypeDocRepo>,
    renderer: ThreeRendererComponent,
  ): ThreePhysicsDebugView

stopDebugView (static method)

Signature

public static stopDebugView(debugView: ThreePhysicsDebugView, renderer: ThreeRendererComponent)

render (method)

Signature

public render(nativeRenderer: WebGLRenderer, nativeCamera: Camera)

lineSegmentPointsForShape (method)

Signature

private lineSegmentPointsForShape(shape: Shape3DMeshDescriptor): Vector3[] | null

dispose (method)

Signature

private dispose()