ParticleType class

The particle type. Can be combined with | operator. Zero means liquid.

@author dmurph

Constructors

ParticleType()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

b2_colorMixingParticle → const int
mixing color between contacting particles
1 << 8
b2_destructionListener → const int
call b2DestructionListener on destruction
1 << 9
b2_elasticParticle → const int
with restitution from deformation
1 << 4
b2_powderParticle → const int
without isotropic pressure
1 << 6
b2_springParticle → const int
with restitution from stretching
1 << 3
b2_tensileParticle → const int
with surface tension
1 << 7
b2_viscousParticle → const int
with viscosity
1 << 5
b2_wallParticle → const int
zero velocity
1 << 2
b2_waterParticle → const int
0
b2_zombieParticle → const int
removed after next step
1 << 1