Click or drag to resize

Vector3 Methods

The Vector3 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two vectors.
Public methodStatic memberAngleBetween
Obtains the angle between two vectors.
Public methodStatic memberAreParallel(Vector3, Vector3)
Checks if two vectors are parallel.
Public methodStatic memberAreParallel(Vector3, Vector3, Double)
Checks if two vectors are parallel.
Public methodStatic memberArePerpendicular(Vector3, Vector3)
Checks if two vectors are perpendicular.
Public methodStatic memberArePerpendicular(Vector3, Vector3, Double)
Checks if two vectors are perpendicular.
Public methodStatic memberCrossProduct
Obtains the cross product of two vectors.
Public methodStatic memberDistance
Obtains the distance between two points.
Public methodStatic memberDivide
Divides a vector with an scalar.
Public methodStatic memberDotProduct
Obtains the dot product of two vectors.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector3)
Check if the components of two vectors are approximate equal.
Public methodStatic memberEquals(Vector3, Vector3)
Check if the components of two vectors are approximate equal.
Public methodEquals(Vector3, Double)
Check if the components of two vectors are approximate equal.
Public methodStatic memberEquals(Vector3, Vector3, Double)
Check if the components of two vectors are approximate equal.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberIsNaN
Returns a value indicating if any component of the specified vector evaluates to a value that is not a number NaN.
Public methodStatic memberMidPoint
Obtains the midpoint.
Public methodModulus
Obtains the modulus of the vector.
Public methodStatic memberMultiply(Double, Vector3)
Multiplies an scalar with a vector (same as u*a, commutative property).
Public methodStatic memberMultiply(Vector3, Double)
Multiplies a vector with an scalar (same as a*u, commutative property).
Public methodStatic memberNegate
Negates a vector.
Public methodNormalize
Normalizes the current vector.
Public methodStatic memberNormalize(Vector3)
Normalizes the vector.
Public methodStatic memberRound
Rounds the components of a vector.
Public methodStatic memberSquareDistance
Obtains the square distance between two points.
Public methodStatic memberSubtract
Subtracts two vectors.
Public methodToArray
Returns an array that represents the vector.
Public methodToFormattedUnit
Obtains a string that represents the vector formatted according to linear units format.
Public methodToPointF
Obtains the PointF conversion of Vector3.
Public methodToString
Obtains a string that represents the vector.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Obtains a string that represents the vector.
Public methodToVector2
Return the 2d vector.
Top
See Also