Class DebugRenderPipeline

A pipeline for rendering the physics scene.

To avoid leaking WASM resources, this MUST be freed manually with debugRenderPipeline.free() once you are done using it (and all the rigid-bodies it created).

Hierarchy

  • DebugRenderPipeline

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional raw: RawDebugRenderPipeline

    Returns DebugRenderPipeline

Properties

colors: Float32Array
raw: RawDebugRenderPipeline
vertices: Float32Array

Methods

  • Release the WASM memory occupied by this serialization pipeline.

    Returns void

Generated using TypeDoc