IrrKlang.NET

Vector3D Members

Vector3D overview

Public Static (Shared) Operators

Addition Operator 
Division Operator 
Equality Operator 
Multiplication OperatorOverloaded.  
Subtraction Operator 

Public Instance Constructors

Vector3D Overloaded. Initializes a new instance of the Vector3D class.

Public Instance Fields

X 
Y 
Z 

Public Instance Properties

Length 
LengthSQ 

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