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