Member | Description | Type |
x | X-coordinate | float |
y | Y-coordinate | float |
z | Z-coordinate | float |
w | W-coordinate | float |
Vector4()
Constructor.
Vector4(const Vector4& Other)
Constructor.
Vector4(float X, float Y, float Z, float W)
Constructor.
void Set(float X, float Y, float Z, float W)
Set values.
void Add(Vector4& Other)
Add values of other vector to this.
void Sub(Vector4& Other)
Subtract values of other vector to this.
void Scale(float Factor)
Scale values of this vector.
void Blend(Vector4& Other, float Value)
Do a linear blend between this vector an another.
float SquareLength()
Returns square length of this vector.
float Length()
Returns length of this vector.
float Dot(Vector4& Other)
Calculates dot product.
void Normalize()
Normalize this vector.
Vector4@ Normalized()
Returns normalized version of this vector.
string@ AsString()
Returns this vector as string ("x, y, z, w")