Readonly
_vThe underlying typed array containing vector components
Readonly
bytesNumber of bytes per component in the underlying array
Readonly
classThe class name identifier
Readonly
glslGLSL string representation for float type
Readonly
glslGLSL string representation for integer type
Readonly
wThe w component (homogeneous coordinate, typically 1.0 for points, 0.0 for vectors)
Readonly
wgslWGSL string representation for float type
Readonly
wgslWGSL string representation for integer type
Readonly
xThe x component
Readonly
yThe y component
Readonly
zThe z component
Calculates dot product with another Vector3.
Other vector
Dot product
Checks equality with another Vector3 within tolerance.
Vector to compare with
Optional
delta: numberOptional tolerance
True if approximately equal
Checks strict equality with another Vector3.
Vector to compare with
True if exactly equal
Calculates distance to another Vector3.
Target vector
Distance
Interface for immutable 3D vectors. Provides operations specific to 3-component vectors with homogeneous coordinate support.