Skip to content

projectAxes

projectAxes(orientation, center, armLength, upAxis): ProjectedArm[]

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

Get all 6 axis arm endpoints projected to 2D, sorted by depth (furthest first).

Parameters

orientation

GizmoOrientation

center

x

number

y

number

armLength

number

upAxis

GizmoUpAxis

Returns

ProjectedArm[]