The methods of MonoMac.OpenGL.Vector3 are listed below. For a list of all members, see the Vector3 Members list.
See Also: Inherited members from System.ValueType
Add(Vector3)Add the Vector passed as parameter to this instance. | ||
Add(ref Vector3)Add the Vector passed as parameter to this instance. | ||
static | Add(Vector3, Vector3)Adds two vectors. | |
static | Add(ref Vector3, ref Vector3, out Vector3)Adds two vectors. | |
static | BaryCentric(Vector3, Vector3, Vector3, float, float)Interpolate 3 Vectors using Barycentric coordinates | |
static | BaryCentric(ref Vector3, ref Vector3, ref Vector3, float, float, out Vector3)Interpolate 3 Vectors using Barycentric coordinates | |
static | CalculateAngle(Vector3, Vector3)Calculates the angle (in radians) between two vectors. | |
static | CalculateAngle(ref Vector3, ref Vector3, out float)Calculates the angle (in radians) between two vectors. | |
static | Clamp(Vector3, Vector3, Vector3)Clamp a vector to the given minimum and maximum vectors | |
static | Clamp(ref Vector3, ref Vector3, ref Vector3, out Vector3)Clamp a vector to the given minimum and maximum vectors | |
static | ComponentMax(Vector3, Vector3)Calculate the component-wise maximum of two vectors | |
static | ComponentMax(ref Vector3, ref Vector3, out Vector3)Calculate the component-wise maximum of two vectors | |
static | ComponentMin(Vector3, Vector3)Calculate the component-wise minimum of two vectors | |
static | ComponentMin(ref Vector3, ref Vector3, out Vector3)Calculate the component-wise minimum of two vectors | |
static | Cross(Vector3, Vector3)Caclulate the cross (vector) product of two vectors | |
static | Cross(ref Vector3, ref Vector3, out Vector3)Caclulate the cross (vector) product of two vectors | |
Div(float)Divide this instance by a scalar. | ||
static | Div(Vector3, float)Divide a vector by a scalar | |
static | Div(ref Vector3, float, out Vector3)Divide a vector by a scalar | |
static | Divide(Vector3, Vector3)Divides a vector by the components of a vector (scale). | |
static | Divide(Vector3, float)Divides a vector by a scalar. | |
static | Divide(ref Vector3, ref Vector3, out Vector3)Divide a vector by the components of a vector (scale). | |
static | Divide(ref Vector3, float, out Vector3)Divides a vector by a scalar. | |
static | Dot(Vector3, Vector3)Calculate the dot (scalar) product of two vectors | |
static | Dot(ref Vector3, ref Vector3, out float)Calculate the dot (scalar) product of two vectors | |
Equals(Vector3)Indicates whether the current vector is equal to another vector. | ||
override | Equals(object)Indicates whether this instance and a specified object are equal. | |
override | GetHashCode()Returns the hashcode for this instance. | |
static | Lerp(Vector3, Vector3, float)Returns a new Vector that is the linear blend of the 2 given Vectors | |
static | Lerp(ref Vector3, ref Vector3, float, out Vector3)Returns a new Vector that is the linear blend of the 2 given Vectors | |
static | Max(Vector3, Vector3)Returns the Vector3 with the minimum magnitude | |
static | Min(Vector3, Vector3)Returns the Vector3 with the minimum magnitude | |
Mult(float)Multiply this instance by a scalar. | ||
static | Mult(Vector3, float)Multiply a vector and a scalar | |
static | Mult(ref Vector3, float, out Vector3)Multiply a vector and a scalar | |
static | Multiply(Vector3, Vector3)Multiplies a vector by the components a vector (scale). | |
static | Multiply(Vector3, float)Multiplies a vector by a scalar. | |
static | Multiply(ref Vector3, ref Vector3, out Vector3)Multiplies a vector by the components of a vector (scale). | |
static | Multiply(ref Vector3, float, out Vector3)Multiplies a vector by a scalar. | |
Normalize()Scales the Vector3 to unit length. | ||
static | Normalize(Vector3)Scale a vector to unit length | |
static | Normalize(ref Vector3, out Vector3)Scale a vector to unit length | |
NormalizeFast()Scales the Vector3 to approximately unit length. | ||
static | NormalizeFast(Vector3)Scale a vector to approximately unit length | |
static | NormalizeFast(ref Vector3, out Vector3)Scale a vector to approximately unit length | |
Scale(Vector3)Scales this instance by the given parameter. | ||
Scale(ref Vector3)Scales this instance by the given parameter. | ||
Scale(float, float, float)Scales the current Vector3 by the given amounts. | ||
Sub(Vector3)Subtract the Vector passed as parameter from this instance. | ||
Sub(ref Vector3)Subtract the Vector passed as parameter from this instance. | ||
static | Sub(Vector3, Vector3)Subtract one Vector from another | |
static | Sub(ref Vector3, ref Vector3, out Vector3)Subtract one Vector from another | |
static | Subtract(Vector3, Vector3)Subtract one Vector from another | |
static | Subtract(ref Vector3, ref Vector3, out Vector3)Subtract one Vector from another | |
override | ToString()Returns a System.String that represents the current Vector3. | |
static | Transform(Vector3, Matrix4)Transform a Vector by the given Matrix | |
static | Transform(Vector3, Quaternion)Transforms a vector by a quaternion rotation. | |
static | Transform(ref Vector3, ref Matrix4, out Vector3)Transform a Vector by the given Matrix | |
static | Transform(ref Vector3, ref Quaternion, out Vector3)Transforms a vector by a quaternion rotation. | |
static | TransformNormal(Vector3, Matrix4)Transform a Normal by the given Matrix | |
static | TransformNormal(ref Vector3, ref Matrix4, out Vector3)Transform a Normal by the given Matrix | |
static | TransformNormalInverse(Vector3, Matrix4)Transform a Normal by the (transpose of the) given Matrix | |
static | TransformNormalInverse(ref Vector3, ref Matrix4, out Vector3)Transform a Normal by the (transpose of the) given Matrix | |
static | TransformPerspective(Vector3, Matrix4)Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3 | |
static | TransformPerspective(ref Vector3, ref Matrix4, out Vector3)Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3 | |
static | TransformPosition(Vector3, Matrix4)Transform a Position by the given Matrix | |
static | TransformPosition(ref Vector3, ref Matrix4, out Vector3)Transform a Position by the given Matrix | |
static | TransformVector(Vector3, Matrix4)Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored. | |
static | TransformVector(ref Vector3, ref Matrix4, out Vector3)Transform a direction vector by the given Matrix Assumes the matrix has a bottom row of (0,0,0,1), that is the translation part is ignored. |