Filter class
This holds contact filtering data.
Constructors
- Filter()
Properties
- categoryBits ↔ int
-
The collision category bits. Normally you would just set one bit.
getter/setter pair
- groupIndex ↔ int
-
Collision groups allow a certain group of objects to never collide
(negative) or always collide (positive). Zero means no collision group.
Non-zero group filtering always wins against the mask bits.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maskBits ↔ int
-
The collision mask bits. This states the categories that this
shape would accept for collision.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
Filter argOther) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited