Common Types
This page documents primitive types that are shared across multiple materials and descriptors in navara_three.
A plain object type representing a 2D vector.
type Vec2 = { x: number; y: number };Properties
Section titled “Properties”Type: number
Description: X coordinate value.
Type: number
Description: Y coordinate value.
A plain object type representing a 3D vector or point.
type XYZ = { x: number; y: number; z: number };Properties
Section titled “Properties”Type: number
Description: X coordinate value.
Type: number
Description: Y coordinate value.
Type: number
Description: Z coordinate value.