Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2DistanceProxy

Hierarchy

  • b2DistanceProxy

Index

Properties

Readonly m_buffer

m_buffer: b2Vec2[] = b2Vec2.MakeArray(2)

m_count

m_count: number = 0

m_radius

m_radius: number = 0

m_vertices

m_vertices: b2Vec2[] = this.m_buffer

Methods

Copy

  • Parameters

    Returns this

GetSupport

  • GetSupport(d: b2Vec2): number
  • Parameters

    Returns number

GetSupportVertex

  • Parameters

    Returns b2Vec2

GetVertex

  • GetVertex(index: number): b2Vec2
  • Parameters

    • index: number

    Returns b2Vec2

GetVertexCount

  • GetVertexCount(): number
  • Returns number

Reset

  • Returns b2DistanceProxy

SetShape

  • SetShape(shape: b2Shape, index: number): void
  • Parameters

    Returns void

SetVerticesRadius

  • SetVerticesRadius(vertices: b2Vec2[], count: number, radius: number): void
  • Parameters

    • vertices: b2Vec2[]
    • count: number
    • radius: number

    Returns void

Generated using TypeDoc