A three-component numeric vector with zero defaults.
Signature
Spatial consumers interpret components as meters, directions, or radians based on their containing field; Vec3 itself carries no unit.
Fields
Examples
Construct a vector
Unset components retain their zero default.
main.kj
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
2
Rust definition
Interpreter RecordValue schema, copied by value at language boundaries.
View Rust documentation →Support: runtime