Skip to main content

Module gizmos

Module gizmos 

Source
Expand description

Gizmo renderer — 3D manipulation handles, measurement, annotations, selection outlines, light/collider/frustum/path/vector-field visualisations.

Structs§

AnnotationGizmo
World-space text label with a leader line.
BoundingBox
An AABB box for selection outline drawing.
CameraFrustumGizmo
Preview a camera’s frustum in the editor viewport.
ColliderGizmo
Shows a physics collider shape.
GizmoRaycast
Hit tests all gizmo handles against a mouse ray.
GizmoRenderer
Manages all gizmo state and provides hit-testing and rendering helpers.
GridGizmo
Snap grid dot/line visualisation.
LightGizmo
Visualises a light source.
MeasurementTool
Shows the distance between two selected points/entities.
PathGizmo
Draws a spline path between waypoints.
PlaneHandle
Plane constraint handle (XY, YZ, XZ).
Ray3
A 3D ray used for hit testing.
RotateHandle
One arc ring for the rotation gizmo.
ScaleHandle
One per-axis scale cube handle.
TranslateHandle
A single axis arrow for the translation gizmo.
VectorFieldGizmo
Samples a force field and draws vectors as arrows.

Enums§

ColliderShape
GizmoDelta
The result of a completed drag operation.
GizmoHit
Result of a gizmo hit test.
GizmoMode
Which manipulation gizmo is active.
GizmoSpace
In which coordinate system the gizmo operates.
LightKind

Constants§

AXIS_X
AXIS_Y
AXIS_Z

Functions§

axis_color
RGBA colours for each axis.
axis_hover_color