Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PhysicsDebugDraw

Hierarchy

Index

Constructors

constructor

Properties

_drawer

_drawer: Graphics | null = null

_dxf

_dxf: b2Transform = new b2.Transform()

_xf

_xf: b2Transform = new b2.Transform()

m_drawFlags

m_drawFlags: b2DrawFlags = 0

Methods

AppendFlags

  • Parameters

    Returns void

ClearFlags

  • Parameters

    Returns void

DrawCircle

  • DrawCircle(center: b2.Vec2, radius: number, color: any): void

DrawParticles

  • DrawParticles(): void

DrawPoint

  • DrawPoint(center: any, radius: any, color: any): void

DrawPolygon

  • DrawPolygon(vertices: any, vertexCount: any, color: any): void

DrawSegment

  • DrawSegment(p1: b2.Vec2, p2: b2.Vec2, color: any): void

DrawSolidCircle

  • DrawSolidCircle(center: b2.Vec2, radius: number, axis: any, color: any): void

DrawSolidPolygon

  • DrawSolidPolygon(vertices: any, vertexCount: any, color: any): void

DrawTransform

  • DrawTransform(xf: b2.Transform): void

GetFlags

PopTransform

  • PopTransform(): void

PushTransform

  • PushTransform(xf: any): void

SetFlags

  • Parameters

    Returns void

DrawCircle

  • DrawCircle(center: b2.Vec2, radius: number): void

DrawPolygon

  • DrawPolygon(vertices: any, vertexCount: any): void

applyFillColor

  • applyFillColor(color: any): void

applyStrokeColor

  • applyStrokeColor(color: any): void

Generated using TypeDoc