Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2ParticleSystemInsideBoundsEnumerator

Hierarchy

  • b2ParticleSystemInsideBoundsEnumerator

Index

Constructors

constructor

  • InsideBoundsEnumerator enumerates all particles inside the given bounds.

    Construct an enumerator with bounds of tags and a range of proxies.

    Parameters

    • system: b2ParticleSystem
    • lower: number
    • upper: number
    • first: number
    • last: number

    Returns b2ParticleSystemInsideBoundsEnumerator

Properties

m_first

m_first: number

m_last

m_last: number

m_system

m_xLower

m_xLower: number

m_xUpper

m_xUpper: number

m_yLower

m_yLower: number

m_yUpper

m_yUpper: number

Methods

GetNext

  • GetNext(): number
  • Get index of the next particle. Returns b2_invalidParticleIndex if there are no more particles.

    Returns number

Generated using TypeDoc