Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2ParticleSystemCompositeShape

Hierarchy

  • b2Shape
    • b2ParticleSystemCompositeShape

Index

Constructors

constructor

Properties

m_radius

m_radius: number = 0

m_shapeCount

m_shapeCount: number = 0

m_shapes

m_shapes: b2Shape[]

Readonly m_type

m_type: b2ShapeType = b2ShapeType.e_unknown

Methods

Clone

  • Returns b2Shape

ComputeAABB

  • see

    b2Shape::ComputeAABB

    Parameters

    Returns void

ComputeDistance

  • see

    b2Shape::ComputeDistance

    Parameters

    Returns number

ComputeMass

  • ComputeMass(massData: b2MassData, density: number): void
  • see

    b2Shape::ComputeMass

    Parameters

    Returns void

ComputeSubmergedArea

Copy

  • Parameters

    Returns b2Shape

Dump

  • Dump(log: (format: string, ...args: any[]) => void): void
  • Parameters

    • log: (format: string, ...args: any[]) => void
        • (format: string, ...args: any[]): void
        • Parameters

          • format: string
          • Rest ...args: any[]

          Returns void

    Returns void

GetChildCount

  • GetChildCount(): number
  • Returns number

GetType

RayCast

SetupDistanceProxy

TestPoint

  • see

    b2Shape::TestPoint

    Parameters

    Returns boolean

Generated using TypeDoc