QueryFilter3D class final
What a query looks at.
Constructors
- QueryFilter3D({int layerMask = 0xFFFF, int ignoreBody = 0, bool includeSensors = false, bool includeCharacters = true})
-
Every layer, no body ignored, sensors left out, characters in.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreBody → int
-
A body to pass over (the one asking, say); 0 for none.
final
- includeCharacters → bool
-
Whether characters' bodies can be hit.
final
- includeSensors → bool
-
Whether sensors can be hit.
final
- layerMask → int
-
Layers to hit, one bit per layer.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- all → const QueryFilter3D
- Everything but sensors.