CoplanarOverlap class Rendering
Two surfaces that overlap in one plane (or so nearly that the depth buffer cannot tell them apart from where they are seen), so they flicker against each other (z-fighting).
Constructors
Properties
- area → double
-
The overlapping area, in square world units.
final
- center → Vector3
-
The middle of the overlap, in world space.
final
- exact → bool
-
Whether the surfaces lie in exactly one plane, so they fight at any
distance and no depth setting separates them.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
A fix for the common shape this overlap has, when one is recognized
(a repeated piece longer than the spacing between pieces).
final
- instanceA → int?
-
The instance index within nodeA's instanced mesh, or null.
final
- instanceB → int?
-
The instance index within nodeB's instanced mesh, or null.
final
- nodeA → Node?
-
The node owning one surface, or null when its item has no node.
final
- nodeB → Node?
-
The node owning the other surface.
final
- normal → Vector3
-
The shared plane's normal (the direction the surfaces face).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separation → double
-
The distance between the two planes, zero for an exact overlap.
final
Methods
-
describe(
) → String - One line naming the pair, the overlap, and the fix.
-
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