SceneEditorAids class final
What an editor shows in its views of the scene beyond what the game
draws: what it hides, the selection's outline, a view mode and a slice.
Set by the editor (GraphicsSceneRenderer.aids), never by a game, and
left out of the plainViews — the game's own camera seen in the editor.
Constructors
Properties
- drawFilter ↔ bool Function(Entity entity)?
-
Whether
entityis drawn; null draws everything. Hidden and isolated things answer false.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- highlightColor ↔ (double, double, double, double)
-
The outline's colour (straight RGBA).
getter/setter pair
-
highlighted
↔ Iterable<
Entity> Function()? -
What is outlined: the selection.
getter/setter pair
-
plainViews
→ Set<
FrameView> -
Views drawn exactly as the game draws them, aids or not.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
skippedViews
→ Set<
FrameView> -
Views not drawn at all: the game's own while the editor draws its
viewport split into panes of its own.
final
- sliceY ↔ double?
-
A slice: nothing higher than this (engine Y, so 3 m up is -3) is
drawn. Null for none.
getter/setter pair
- viewMode ↔ RenderViewMode
-
Lit, unlit or wireframe.
getter/setter pair
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