ContactFilter class

Implement this class to provide collision filtering. In other words, you can implement this class if you want finer control over contact creation.

Constructors

ContactFilter()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
shouldCollide(Fixture fixtureA, Fixture fixtureB) bool
Return true if contact calculations should be performed between these two shapes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited