Vec3-1
const Vec3: TaggedStruct<"Vec3", {
Variable: Vec3
const Vec3: TaggedStruct<"Vec3", {
x: withConstructorDefault<Number>;
y: withConstructorDefault<Number>;
z: withConstructorDefault<Number>;
}>;Defined in: packages/motion/src/Entity.ts:34
A point or offset in 3D space.
Remarks
Scene coordinates with depth: x right, y UP (the mathematical
convention), z toward the viewer, origin at the viewport center — a
right-handed frame. Every axis defaults to 0, so vec3({ x: 100 }) is a
valid horizontal offset.
At z = 0 content renders exactly as flat 2D. Non-zero z is only
meaningful under a perspective camera, where it changes apparent size and
parallax.