GizmoFrustum class
A perspective view frustum opening along node-local +Z (the engine camera looks along its node's local +Z).
- Inheritance
-
- Object
- GizmoPrimitive
- GizmoFrustum
Constructors
- GizmoFrustum({required GizmoScalar fovY, required GizmoScalar near, required GizmoScalar far, GizmoScalar? aspect, GizmoVisibility visibility = GizmoVisibility.always, GizmoColor? color, bool xray = true, GizmoCondition? when})
-
const
Properties
- aspect → GizmoScalar?
-
Width over height; null uses the viewport's current aspect.
final
- color → GizmoColor?
-
Overrides the theme gizmo color; null uses the theme (accent when
selected).
finalinherited
- far → GizmoScalar
-
final
- fovY → GizmoScalar
-
Vertical field of view in radians.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
The JSON tag for this primitive's kind.
no setteroverride
- near → GizmoScalar
-
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
- xray → bool
-
Whether the primitive stays visible when occluded, once depth-aware
drawing exists. The v1 painter draws everything on top.
finalinherited
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