IrrKlang.NET

Vector3D Methods

The methods of the Vector3D structure are listed below. For a complete list of Vector3D structure members, see the Vector3D Members topic.

Public Instance Methods

CrossProduct Returns cross product with an other vector
DotProduct Returns the dot product with another vector.
Equals Compares the vector to another vector.
GetDistanceFrom Returns distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.
GetDistanceFromSQ Returns squared distance from an other point. Here, the vector is interpreted as point in 3 dimensional space.
GetHashCode (inherited from ValueType) Returns the hash code for this instance.
GetInterpolated returns interpolated vector
GetLength Returns length of the vector.
GetLengthSQ Returns squared length of the vector. This is useful because it is much faster then GetLength().
GetType (inherited from Object) Gets the Type of the current instance.
Invert Inverts the vector.
IsBetweenPoints Returns if the point represented by this vector is between to points
Normalize Normalizes the vector.
SetOverloaded.  
SetLength Sets the lenght of the vector to a new value
ToString 

See Also

Vector3D Class | IrrKlang Namespace