OverlayDraw class final
Lines drawn over the scene: a primitive's edges where world puts it, in color — a selection's highlight, a wireframe.
Needs the edges the uploader keeps when asked (ModelUploader.keepEdges);
a primitive without them is skipped.
Constructors
- OverlayDraw(GpuPrimitive primitive, Matrix4 world, {(double, double, double, double) color = (1.0, 0.6, 0.1, 1.0), bool xray = false})
-
primitive's edges, placed byworld, incolor(straight RGBA).
Properties
- color → (double, double, double, double)
-
Straight RGBA.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- primitive → GpuPrimitive
-
Whose edges.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- world → Matrix4
-
World from local.
final
- xray → bool
-
Drawn through whatever is in front of it, as well as where seen.
final
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