The methods of MonoMac.OpenGL.Vector4 are listed below. For a list of all members, see the Vector4 Members list.
See Also: Inherited members from System.ValueType
Add(Vector4)Add the Vector passed as parameter to this instance. | ||
Add(ref Vector4)Add the Vector passed as parameter to this instance. | ||
static | Add(Vector4, Vector4)Adds two vectors. | |
static | Add(ref Vector4, ref Vector4, out Vector4)Adds two vectors. | |
static | BaryCentric(Vector4, Vector4, Vector4, float, float)Interpolate 3 Vectors using Barycentric coordinates | |
static | BaryCentric(ref Vector4, ref Vector4, ref Vector4, float, float, out Vector4)Interpolate 3 Vectors using Barycentric coordinates | |
static | Clamp(Vector4, Vector4, Vector4)Clamp a vector to the given minimum and maximum vectors | |
static | Clamp(ref Vector4, ref Vector4, ref Vector4, out Vector4)Clamp a vector to the given minimum and maximum vectors | |
Div(float)Divide this instance by a scalar. | ||
static | Div(Vector4, float)Divide a vector by a scalar | |
static | Div(ref Vector4, float, out Vector4)Divide a vector by a scalar | |
static | Divide(Vector4, Vector4)Divides a vector by the components of a vector (scale). | |
static | Divide(Vector4, float)Divides a vector by a scalar. | |
static | Divide(ref Vector4, ref Vector4, out Vector4)Divide a vector by the components of a vector (scale). | |
static | Divide(ref Vector4, float, out Vector4)Divides a vector by a scalar. | |
static | Dot(Vector4, Vector4)Calculate the dot product of two vectors | |
static | Dot(ref Vector4, ref Vector4, out float)Calculate the dot product of two vectors | |
Equals(Vector4)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(Vector4, Vector4, float)Returns a new Vector that is the linear blend of the 2 given Vectors | |
static | Lerp(ref Vector4, ref Vector4, float, out Vector4)Returns a new Vector that is the linear blend of the 2 given Vectors | |
static | Max(Vector4, Vector4)Calculate the component-wise maximum of two vectors | |
static | Max(ref Vector4, ref Vector4, out Vector4)Calculate the component-wise maximum of two vectors | |
static | Min(Vector4, Vector4)Calculate the component-wise minimum of two vectors | |
static | Min(ref Vector4, ref Vector4, out Vector4)Calculate the component-wise minimum of two vectors | |
Mult(float)Multiply this instance by a scalar. | ||
static | Mult(Vector4, float)Multiply a vector and a scalar | |
static | Mult(ref Vector4, float, out Vector4)Multiply a vector and a scalar | |
static | Multiply(Vector4, Vector4)Multiplies a vector by the components a vector (scale). | |
static | Multiply(Vector4, float)Multiplies a vector by a scalar. | |
static | Multiply(ref Vector4, ref Vector4, out Vector4)Multiplies a vector by the components of a vector (scale). | |
static | Multiply(ref Vector4, float, out Vector4)Multiplies a vector by a scalar. | |
Normalize()Scales the Vector4 to unit length. | ||
static | Normalize(Vector4)Scale a vector to unit length | |
static | Normalize(ref Vector4, out Vector4)Scale a vector to unit length | |
NormalizeFast()Scales the Vector4 to approximately unit length. | ||
static | NormalizeFast(Vector4)Scale a vector to approximately unit length | |
static | NormalizeFast(ref Vector4, out Vector4)Scale a vector to approximately unit length | |
Scale(Vector4)Scales this instance by the given parameter. | ||
Scale(ref Vector4)Scales this instance by the given parameter. | ||
Scale(float, float, float, float)Scales the current Vector4 by the given amounts. | ||
Sub(Vector4)Subtract the Vector passed as parameter from this instance. | ||
Sub(ref Vector4)Subtract the Vector passed as parameter from this instance. | ||
static | Sub(Vector4, Vector4)Subtract one Vector from another | |
static | Sub(ref Vector4, ref Vector4, out Vector4)Subtract one Vector from another | |
static | Subtract(Vector4, Vector4)Subtract one Vector from another | |
static | Subtract(ref Vector4, ref Vector4, out Vector4)Subtract one Vector from another | |
override | ToString()Returns a System.String that represents the current Vector4. | |
static | Transform(Vector4, Matrix4)Transform a Vector by the given Matrix | |
static | Transform(Vector4, Quaternion)Transforms a vector by a quaternion rotation. | |
static | Transform(ref Vector4, ref Matrix4, out Vector4)Transform a Vector by the given Matrix | |
static | Transform(ref Vector4, ref Quaternion, out Vector4)Transforms a vector by a quaternion rotation. | |