Readonly_vThe underlying typed array containing vector components
ReadonlybytesNumber of bytes per component in the underlying array
ReadonlyclassThe class name identifier
ReadonlyglslGLSL string representation for float type
ReadonlyglslGLSL string representation for integer type
ReadonlywThe w component
ReadonlywgslWGSL string representation for float type
ReadonlywgslWGSL string representation for integer type
ReadonlyxThe x component
ReadonlyyThe y component
ReadonlyzThe z component
Calculates dot product with another Vector4.
Other vector
Dot product
Checks equality with another Vector4 within tolerance.
Vector to compare with
Optionaldelta: numberOptional tolerance
True if approximately equal
Checks strict equality with another Vector4.
Vector to compare with
True if exactly equal
Calculates distance to another Vector4.
Target vector
Distance
Interface for immutable 4D vectors. Provides operations specific to 4-component vectors (homogeneous coordinates).