Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2ParticleContact

Hierarchy

  • b2ParticleContact

Index

Properties

flags

flags: b2ParticleFlag = 0

indexA

indexA: number = 0

indexB

indexB: number = 0

normal

normal: b2Vec2 = new b2Vec2()

weight

weight: number = 0

Methods

ApproximatelyEqual

  • Parameters

    Returns boolean

GetFlags

  • Returns b2ParticleFlag

GetIndexA

  • GetIndexA(): number
  • Returns number

GetIndexB

  • GetIndexB(): number
  • Returns number

GetNormal

  • Returns b2Vec2

GetWeight

  • GetWeight(): number
  • Returns number

IsEqual

  • Parameters

    Returns boolean

IsNotEqual

  • Parameters

    Returns boolean

SetFlags

  • Parameters

    Returns void

SetIndices

  • SetIndices(a: number, b: number): void
  • Parameters

    • a: number
    • b: number

    Returns void

SetNormal

  • Parameters

    Returns void

SetWeight

  • SetWeight(w: number): void
  • Parameters

    • w: number

    Returns void

Generated using TypeDoc