Skip to content

presetViewToOrientation

presetViewToOrientation(view, upAxis): GizmoOrientation

Defined in: src/components/editor/ViewportGizmo/gizmoMath.ts:266

Convert a preset view name to Euler angles.

Parameters

view

GizmoPresetView

upAxis

GizmoUpAxis

Returns

GizmoOrientation