Member | Description | Type |
x | X-coordinate | float |
y | Y-coordinate | float |
z | Z-coordinate | float |
Vector3()
Constructor.
Vector3(const Vector3& Other)
Constructor.
Vector3(float X, float Y, float Z)
Constructor.
void Set(float X, float Y, float Z)
Set values.
void Add(Vector3& Other)
Add values of other vector to this.
void Sub(Vector3& Other)
Subtract values of other vector to this.
void Blend(Vector3& 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(Vector3& Other)
Calculates dot product.
Vector3& Cross(Vector3& Other)
Cross this vector with another.
void Normalize()
Normalize this vector.
Vector3@ Normalized()
Returns normalized version of this vector.
string@ AsString()
Returns this vector as string ("x, y, z")