GizmoOrthographicVolume class

An orthographic view volume, a box along node-local +Z from near to far (the engine camera looks along its node's local +Z), sized like the engine's orthographic projection against the editor viewport.

Inheritance

Constructors

GizmoOrthographicVolume({String fit = 'height', String? fitBind, required GizmoScalar width, required GizmoScalar height, required GizmoScalar pixelsPerUnit, required GizmoScalar zoom, required GizmoScalar near, required GizmoScalar far, String? offsetBind, GizmoVisibility visibility = GizmoVisibility.always, GizmoColor? color, bool xray = true, GizmoCondition? when})
const

Properties

color → GizmoColor?
Overrides the theme gizmo color; null uses the theme (accent when selected).
finalinherited
far → GizmoScalar
final
fit → String
How the volume fits the viewport: height, width, contain, cover, stretch, or pixelsPerUnit. Used when fitBind is null.
final
fitBind → String?
A string property path supplying fit.
final
hashCode → int
The hash code for this object.
no setterinherited
height → GizmoScalar
final
kind → String
The JSON tag for this primitive's kind.
no setteroverride
near → GizmoScalar
Signed clip distances along +Z; near may be negative.
final
offsetBind → String?
A vec2 property path shifting the volume along node-local +X and +Y.
final
pixelsPerUnit → GizmoScalar
Viewport pixels per world unit, for the pixelsPerUnit mode.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
visibility → GizmoVisibility
finalinherited
when → GizmoCondition?
Draw only while the condition holds; null always draws.
finalinherited
width → GizmoScalar
Visible width and height in world units, for the modes that use them.
final
xray → bool
Whether the primitive stays visible when occluded, once depth-aware drawing exists. The v1 painter draws everything on top.
finalinherited
zoom → GizmoScalar
Divides the visible extent.
final

Methods

fieldsToJson() → Map<String, Object?>
Subtype-specific JSON fields, merged into the tagged map.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited