Summary

A 4-dimensional vector/point.

Constructors

Vector4 Initializes a vector4 with given components.

Properties

IsNearZeroLength Whether length of this vector is nearly zero.
Length The length of this vector object
LengthSquared The squared length of this vector object
w The W component of this Vector.
x The X component of this Vector.
y The Y component of this Vector.
z The Z component of this Vector.

Methods

LerpTo Performs linear interpolation between this and given vectors.

Static Fields

One A 4D vector with all components set to 1.
Zero A 4D vector with all components set to 0.

Static Methods

Dot Returns the dor product of the two vectors
Lerp Performs linear interpolation between 2 given vectors.
Parse Given a string, try to convert this into a vector4. The format is "x,y,z,w".
TryParse
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.