SAPBroadPhase class
- Inheritance
-
- Object
- BroadPhase
- SAPBroadPhase
Constructors
Properties
-
axesD
↔ List<
SAPAxis> -
dynamic proxies in the swee and prune broadphase
getter/setter pair
-
axesS
↔ List<
SAPAxis> -
static or sleeping proxies in the swee and prune broadphase
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index1 ↔ int
-
getter/setter pair
- index2 ↔ int
-
getter/setter pair
- numElementsD ↔ int
-
getter/setter pair
- numElementsS ↔ int
-
getter/setter pair
- numPairChecks ↔ int
-
getter/setter pairinherited
- numPairs ↔ int
-
getter/setter pairinherited
-
pairs
↔ List<
Pair> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- types ↔ BroadPhaseType
-
getter/setter pairinherited
Methods
-
addPair(
Shape s1, Shape s2) → void -
Add overlaping pairs
inherited
-
addProxy(
Proxy proxy) → void -
Add the proxy into the broad-phase.
override
-
collectPairs(
) → void -
Collect overlaping pairs
override
-
createProxy(
Shape shape) → SAPProxy? -
Create a new proxy.
override
-
detectPairs(
) → void -
inherited
-
isAvailablePair(
Shape s1, Shape s2) → bool -
Returns whether the pair is available or not.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeProxy(
Proxy proxy) → void -
Remove the proxy from the broad-phase.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited