
More.ĭot (ref Vector3 vector1, ref Vector3 vector2, out float result)Ĭalculates the dot product of two vectors and writes the result to a user-specified variable. For example, it can show whether the vectors are orthogonal, parallel, or have an acute or obtuse angle between them. If the two vectors are unit vectors, the dot product returns a floating point value between -1 and 1 that can be used to determine some properties of the angle between two vectors. RectangularDistance (ref Vector3 value1, ref Vector3 value2)Ĭalculates the dot product of two vectors. Manhattan distance or Chessboard distace) between two vectors. RectangularDistance ( Vector3 value1, Vector3 value2)Ĭalculates rectangular distance (a.k.a. More.ĭistanceSquared (ref Vector3 value1, ref Vector3 value2, out float result) More.ĭistance (ref Vector3 value1, ref Vector3 value2, out float result)ĭistanceSquared ( Vector3 value1, Vector3 value2)Ĭalculates the distance between two vectors squared. IsZeroVector ( Vector3 value, float epsilon)ĭistance ( Vector3 value1, Vector3 value2)Ĭalculates the distance between two vectors.

More.ĪrePerpendicular (ref Vector3 a, ref Vector3 b) Returns per component sign, never returns zero. Operator/ ( Vector3 value, float divider)ĭivides a vector by a scalar value. Operator/ ( Vector3 value1, Vector3 value2)ĭivides the components of a vector by the components of another vector. Operator* (float scaleFactor, Vector3 value) Operator* ( Vector3 value, float scaleFactor) Multiplies the components of two vectors by each other. Operator* ( Vector3 value1, Vector3 value2) Operator- ( Vector3 value1, float value2) Operator- ( Vector3 value1, Vector3 value2) Operator+ ( Vector3 value1, float value2) Operator+ ( Vector3 value1, Vector3 value2) Operator!= ( Vector3 value1, Vector3 value2) Operator= ( Vector3 value1, Vector3 value2) Returns a vector pointing in the opposite direction. IsInsideInclusive (ref Vector3 min, ref Vector3 max) More.ĬalculatePerpendicularVector (out Vector3 result) Returns the component of the vector, whose absolute value is largest of all the three components. Keeps only component with maximal absolute, others are set to zero. Returns the component of the vector that is largest of all the three components. Returns the component of the vector, whose absolute value is smallest of all the three components. Returns the component of the vector that is smallest of all the three components. The result is a vector one unit in length pointing in the same direction as the original vector. Turns the current vector into a unit vector. More.Ĭalculates the length of the vector squared. More.Ĭalculates the length of the vector. Returns a value that indicates whether the current instance is equal to a specified object.

More.ĭetermines whether the specified Object is equal to the Vector3. Retrieves a string representation of the current object. Interpolate3 ( Vector3 v0, Vector3 v1, float rt)
