Skip to content

API Type RotationOrder

github-actions[bot] edited this page Nov 28, 2026 · 3 revisions

Type Alias: RotationOrder

type RotationOrder = "XYZ" | "XZY" | "YXZ" | "YZX" | "ZXY" | "ZYX";

Defined in: src/engine/core/math.ts:290

The order Euler angles are applied in, as in Unity.Mathematics' RotationOrder: "ZXY" turns about Z, then X, then Y, each about the parent's (fixed) axes, so q = qY · qX · qZ. "ZXY" (yaw outermost) is the default everywhere (ADR 0163). Angles are radians (ADR 0164).

Clone this wiki locally