The members of OpenTK.Vector4 are listed below.
See Also: Inherited members from System.ValueType
Constructs a new Vector4 from the given Vector2. | ||
Constructs a new Vector4 from the given Vector3. | ||
Constructs a new Vector4 from the given Vector4. | ||
Documentation for this section has not yet been entered. | ||
Constructs a new Vector4 from the specified Vector3 and W component. | ||
Constructs a new Vector4. |
static readonly | One | Vector4. Defines an instance with all components set to 1. |
static readonly | SizeInBytes | int. Defines the size of the Vector4 struct in bytes. |
static | UnitW | Vector4. Defines a unit-length Vector4 that points towards the W-axis. |
static | UnitX | Vector4. Defines a unit-length Vector4 that points towards the X-axis. |
static | UnitY | Vector4. Defines a unit-length Vector4 that points towards the Y-axis. |
static | UnitZ | Vector4. Defines a unit-length Vector4 that points towards the Z-axis. |
W | float. The Z component of the Vector4. | |
X | float. The X component of the Vector4. | |
Y | float. The Y component of the Vector4. | |
Z | float. The Z component of the Vector4. | |
static | Zero | Vector4. Defines a zero-length Vector4. |
[read-only] | Length | float. Gets the length (magnitude) of the vector. |
[read-only] | LengthFast | float. Gets an approximation of the vector length (magnitude). |
[read-only] | LengthSquared | float. Gets the square of the vector length (magnitude). |
Xy | Vector2. Gets or sets an OpenTK.Vector2 with the X and Y components of this instance. | |
Xyz | Vector3. Gets or sets an OpenTK.Vector3 with the X, Y and Z components of this instance. |
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(ref Vector4, ref Vector4, out Vector4)Add two Vectors | |
static | BaryCentric(float, float, ref Vector4, ref Vector4, ref Vector4, out Vector4)Interpolate 3 Vectors using Barycentric coordinates | |
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(float, ref Vector4, out Vector4)Divide a vector by a scalar | |
static | Divide(ref Vector4, ref Vector4, out Vector4)Documentation for this section has not yet been entered. | |
static | Divide(float, ref Vector4, out Vector4)Documentation for this section has not yet been entered. | |
static | Dot(Vector4, Vector4)Calculate the dot product of two vectors | |
static | Dot(out float, ref Vector4, ref Vector4)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(float, ref Vector4, ref Vector4, out Vector4)Returns a new Vector that is the linear blend of the 2 given Vectors | |
static | Max(ref Vector4, ref Vector4, out Vector4)Calculate the component-wise maximum 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(float, ref Vector4, out Vector4)Multiply a vector and a scalar | |
static | Multiply(ref Vector4, ref Vector4, out Vector4)Documentation for this section has not yet been entered. | |
static | Multiply(float, ref Vector4, out Vector4)Documentation for this section has not yet been entered. | |
Normalize()Scales the Vector4 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(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(ref Vector4, ref Vector4, out Vector4)Subtract one Vector from another | |
static | Subtract(ref Vector4, ref Vector4, out Vector4)Documentation for this section has not yet been entered. | |
override | ToString()Returns a System.String that represents the current Vector4. | |
static | Transform(ref Vector4, ref Matrix4, out Vector4)Transform a Vector by the given Matrix | |
static | Transform(ref Vector4, ref Quaternion, out Vector4)Documentation for this section has not yet been entered. |
static | Equality(Vector4, Vector4) | Documentation for this section has not yet been entered. |
static | Inequality(Vector4, Vector4) | Documentation for this section has not yet been entered. |
static | Conversion to System.IntPtr(Explicit) | Documentation for this section has not yet been entered. |
static | Conversion to System.Single*(Explicit) | Documentation for this section has not yet been entered. |