Adds a vector to the current vector in place. Unlike add, this method
takes only a vector and skips the argument dispatch, which makes it the
faster choice in code that runs every tick.
The vector to be added.
The updated vector.
Replaces the current vector with its cross product with a vector.
Fast-path variant of cross.
The other vector.
The updated vector.
Computes the squared distance to a vector. Fast-path variant of
distanceSquared.
The other vector.
The squared distance between the vectors.
Computes the distance to a vector. Fast-path variant of distance.
The other vector.
The distance between the vectors.
Divides the current vector component-wise by a vector in place. Fast-path
variant of divide.
The vector divisor.
The updated vector.
Computes the dot product with a vector. Fast-path variant of dot.
The other vector.
The dot product.
Multiplies the current vector component-wise by a vector in place.
Fast-path variant of multiply; use scale for scalars.
The vector multiplier.
The updated vector.
Subtracts a vector from the current vector in place. Fast-path variant of
subtract.
The vector to be subtracted.
The updated vector.
Returns a string representation of an object.
Optionalformat: "long" | "short"Optionalseparator: stringStaticfromStaticfromStaticfromOptionalformat: "long" | "short"Optionalseparator: string
Remarks
X component of this vector.