Click or drag to resize

Vector3 Methods

The Vector3 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd(Vector3, Vector3)
Adds two vectors.
Public methodStatic memberAdd(Vector3, Vector3, Vector3)
Adds two vectors.
Public methodStatic memberBaryCentric(Vector3, Vector3, Vector3, Double, Double)
Interpolate 3 Vectors using Barycentric coordinates
Public methodStatic memberBaryCentric(Vector3, Vector3, Vector3, Double, Double, Vector3)
Interpolate 3 Vectors using Barycentric coordinates
Public methodStatic memberCalculateAngle(Vector3, Vector3)
Calculates the angle (in radians) between two vectors.
Public methodStatic memberCalculateAngle(Vector3, Vector3, Double)
Calculates the angle (in radians) between two vectors.
Public methodStatic memberClamp(Vector3, Vector3, Vector3)
Clamp a vector to the given minimum and maximum vectors
Public methodStatic memberClamp(Vector3, Vector3, Vector3, Vector3)
Clamp a vector to the given minimum and maximum vectors
Public methodStatic memberCollinear
Checks if 3 points are collinear (all lie on the same line).
Public methodStatic memberComponentMax(Vector3)
Public methodStatic memberComponentMax(Vector3, Vector3)
Calculate the component-wise maximum of two vectors
Public methodStatic memberComponentMax(Vector3, Vector3, Vector3)
Calculate the component-wise maximum of two vectors
Public methodStatic memberComponentMin(Vector3)
Public methodStatic memberComponentMin(Vector3, Vector3)
Calculate the component-wise minimum of two vectors
Public methodStatic memberComponentMin(Vector3, Vector3, Vector3)
Calculate the component-wise minimum of two vectors
Public methodStatic memberCross(Vector3, Vector3)
Caclulate the cross (vector) product of two vectors
Public methodStatic memberCross(Vector3, Vector3, Vector3)
Caclulate the cross (vector) product of two vectors
Public methodStatic memberDivide(Vector3, Vector3)
Divides a vector by the components of a vector (scale).
Public methodStatic memberDivide(Vector3, Double)
Divides a vector by a scalar.
Public methodStatic memberDivide(Vector3, Vector3, Vector3)
Divide a vector by the components of a vector (scale).
Public methodStatic memberDivide(Vector3, Double, Vector3)
Divides a vector by a scalar.
Public methodStatic memberDot(Vector3, Vector3)
Calculate the dot (scalar) product of two vectors
Public methodStatic memberDot(Vector3, Vector3, Double)
Calculate the dot (scalar) product of two vectors
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
Indicates whether the current vector is equal to another vector.
Public methodEquals(Vector3, Double)
Indicates whether this instance and a specified object are equal within an error range.
Public methodGetHashCode
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetNormal
Returns a normalized Vector of this.
Public methodStatic memberGetPerpendicular
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLerp(Vector3, Vector3, Double)
Returns a new Vector that is the linear blend of the 2 given Vectors
Public methodStatic memberLerp(Vector3, Vector3, Double, Vector3)
Returns a new Vector that is the linear blend of the 2 given Vectors
Public methodStatic memberMax
Returns the Vector3d with the minimum magnitude
Public methodStatic memberMin
Returns the Vector3d with the minimum magnitude
Public methodStatic memberMultiply(Vector3, Vector3)
Multiplies a vector by the components a vector (scale).
Public methodStatic memberMultiply(Vector3, Double)
Multiplies a vector by a scalar.
Public methodStatic memberMultiply(Vector3, Vector3, Vector3)
Multiplies a vector by the components of a vector (scale).
Public methodStatic memberMultiply(Vector3, Double, Vector3)
Multiplies a vector by a scalar.
Public methodNormalize
Scales the Vector3d to unit length.
Public methodStatic memberNormalize(Vector3)
Scale a vector to unit length
Public methodStatic memberNormalize(Vector3, Vector3)
Scale a vector to unit length
Public methodStatic memberSubtract(Vector3, Vector3)
Subtract one Vector from another
Public methodStatic memberSubtract(Vector3, Vector3, Vector3)
Subtract one Vector from another
Public methodToArray
Public methodToString
Returns a System.String that represents the current Vector3.
(Overrides ValueTypeToString.)
Top
Extension Methods
See Also