SceneGizmo class Scene graph
Attaches a declarative editor gizmo to a @SceneComponent class: the
ordered primitives the editor draws in its viewport for components of
this type. Primitives must be const constructors from
package:scene/schema.dart (GizmoIcon, GizmoArrow, wire shapes...),
with scalar and color parameters either literal or bound to a property by
dotted path (GizmoScalar.bind, GizmoColor.bind).
Constructors
-
SceneGizmo(List<
GizmoPrimitive> primitives) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
primitives
→ List<
GizmoPrimitive> -
The gizmo's primitives, in draw order.
final
- 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