axisToPresetView
axisToPresetView(
axis,positive,upAxis):GizmoPresetView|null
Defined in: src/components/editor/ViewportGizmo/gizmoMath.ts:363
Map an axis tip click to the corresponding preset view.
Parameters
Section titled “Parameters”"x" | "y" | "z"
positive
Section titled “positive”boolean
upAxis
Section titled “upAxis”Returns
Section titled “Returns”GizmoPresetView | null