five-on-it / apps/tools/src/frame / Frame
Interface: Frame
Defined in: apps/tools/src/frame.ts:15
A node's transform in world space, in the frame of the file it came from.
Properties
pitch
pitch:
number
Defined in: apps/tools/src/frame.ts:21
Rotation around the local x axis (rad), applied after the yaw.
position
position:
Vec3
Defined in: apps/tools/src/frame.ts:17
World position.
roll
roll:
number
Defined in: apps/tools/src/frame.ts:23
Rotation around the local z axis (rad), applied last; the level format has no use for it.
scaling
scaling:
Vec3
Defined in: apps/tools/src/frame.ts:25
World scaling.
yaw
yaw:
number
Defined in: apps/tools/src/frame.ts:19
Rotation around +y (rad).