How the viewport draws what the editor adds to the game — the grid, the handles, the selection — as the settings make it.
Read by painters, which run on the engine's canvas outside any widget,
so like EditorMetrics these are statics: the plugin applies the
settings, and the next frame paints with them.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- designerSelection → Color
-
The outline round what is selected in the Level Designer.
no setter
- gizmoScale → double
-
How big the move, scale and turn handles are drawn, and how far off a
pointer still takes hold of one: 1 is as built.
no setter
- selection → Color
-
The outline round what is selected in the editor's view.
no setter
Static Methods
-
apply(
OverlayUiSettings s) → void -
Takes the look from
s. -
gridLine(
double alpha) → Color -
A grid line at
alphaof full strength, as the settings colour and strengthen it:gridLine(0.14)for a major line, drawn as before at the defaults.