[ILNumerics Visualization Engine]
Namespace: ILNumerics.Drawing
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
The Vector4 type exposes the following members.
Name | Description | |
---|---|---|
Vector4(Vector3) |
Constructs a new Vector4 from the given Vector3.
[ILNumerics Visualization Engine] | |
Vector4(Vector4) |
Constructs a new Vector4 from the given Vector4.
[ILNumerics Visualization Engine] | |
Vector4(Vector3, Single) |
Constructs a new Vector4 from the specified Vector3 and w component.
[ILNumerics Visualization Engine] | |
Vector4(Single, Single, Single, Single) |
Constructs a new Vector4.
[ILNumerics Visualization Engine] |
Name | Description | |
---|---|---|
Length |
Gets the length (magnitude) of the vector.
[ILNumerics Visualization Engine] | |
LengthSquared |
Gets the square of the vector length (magnitude).
[ILNumerics Visualization Engine] | |
Xyz |
Gets or sets an OpenTK.Vector3 with the X, Y and Z components of this instance.
[ILNumerics Visualization Engine] |
Name | Description | |
---|---|---|
Add(Vector4) | Obsolete.
Add the Vector passed as parameter to this instance.
[ILNumerics Visualization Engine] | |
Add(Vector4) | Obsolete.
Add the Vector passed as parameter to this instance.
[ILNumerics Visualization Engine] | |
Add(Vector4, Vector4) |
Adds two vectors.
[ILNumerics Visualization Engine] | |
Add(Vector4, Vector4, Vector4) |
Adds two vectors.
[ILNumerics Visualization Engine] | |
BaryCentric(Vector4, Vector4, Vector4, Single, Single) |
Interpolate 3 Vectors using Barycentric coordinates
[ILNumerics Visualization Engine] | |
BaryCentric(Vector4, Vector4, Vector4, Single, Single, Vector4) |
Interpolate 3 Vectors using Barycentric coordinates
[ILNumerics Visualization Engine] | |
Clamp(Vector4, Vector4, Vector4) |
Clamp a vector to the given minimum and maximum vectors
[ILNumerics Visualization Engine] | |
Clamp(Vector4, Vector4, Vector4, Vector4) |
Clamp a vector to the given minimum and maximum vectors
[ILNumerics Visualization Engine] | |
Div(Single) | Obsolete.
Divide this instance by a scalar.
[ILNumerics Visualization Engine] | |
Div(Vector4, Single) |
Divide a vector by a scalar
[ILNumerics Visualization Engine] | |
Div(Vector4, Single, Vector4) |
Divide a vector by a scalar
[ILNumerics Visualization Engine] | |
Divide(Vector4, Vector4) |
Divides a vector by the components of a vector (scale).
[ILNumerics Visualization Engine] | |
Divide(Vector4, Single) |
Divides a vector by a scalar.
[ILNumerics Visualization Engine] | |
Divide(Vector4, Vector4, Vector4) |
Divide a vector by the components of a vector (scale).
[ILNumerics Visualization Engine] | |
Divide(Vector4, Single, Vector4) |
Divides a vector by a scalar.
[ILNumerics Visualization Engine] | |
Dot(Vector3, Vector4) | ||
Dot(Vector4, Vector3) | ||
Dot(Vector4, Vector4) |
Calculate the dot product of two vectors
[ILNumerics Visualization Engine] | |
Dot(Vector4, Vector4, Single) |
Calculate the dot product of two vectors
[ILNumerics Visualization Engine] | |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)[ILNumerics Visualization Engine] | |
Equals(Vector4) |
Indicates whether the current vector is equal to another vector.
[ILNumerics Visualization Engine] | |
GetHashCode |
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.)[ILNumerics Visualization Engine] | |
Lerp(Vector4, Vector4, Single) |
Returns a new Vector that is the linear blend of the 2 given Vectors
[ILNumerics Visualization Engine] | |
Lerp(Vector4, Vector4, Single, Vector4) |
Returns a new Vector that is the linear blend of the 2 given Vectors
[ILNumerics Visualization Engine] | |
Max(Vector4, Vector4) |
Calculate the component-wise maximum of two vectors
[ILNumerics Visualization Engine] | |
Max(Vector4, Vector4, Vector4) |
Calculate the component-wise maximum of two vectors
[ILNumerics Visualization Engine] | |
Min(Vector4, Vector4) |
Calculate the component-wise minimum of two vectors
[ILNumerics Visualization Engine] | |
Min(Vector4, Vector4, Vector4) |
Calculate the component-wise minimum of two vectors
[ILNumerics Visualization Engine] | |
Mult(Single) | Obsolete.
Multiply this instance by a scalar.
[ILNumerics Visualization Engine] | |
Mult(Vector4, Single) |
Multiply a vector and a scalar
[ILNumerics Visualization Engine] | |
Mult(Vector4, Single, Vector4) |
Multiply a vector and a scalar
[ILNumerics Visualization Engine] | |
Multiply(Vector4, Vector4) |
Multiplies a vector by the components a vector (scale).
[ILNumerics Visualization Engine] | |
Multiply(Vector4, Single) |
Multiplies a vector by a scalar.
[ILNumerics Visualization Engine] | |
Multiply(Vector4, Vector4, Vector4) |
Multiplies a vector by the components of a vector (scale).
[ILNumerics Visualization Engine] | |
Multiply(Vector4, Single, Vector4) |
Multiplies a vector by a scalar.
[ILNumerics Visualization Engine] | |
Normalize |
Scales the Vector4 to unit length.
[ILNumerics Visualization Engine] | |
Normalize(Vector4) |
Scale a vector to unit length
[ILNumerics Visualization Engine] | |
Normalize(Vector4, Vector4) |
Scale a vector to unit length
[ILNumerics Visualization Engine] | |
Scale(Vector4) | Obsolete.
Scales this instance by the given parameter.
[ILNumerics Visualization Engine] | |
Scale(Vector4) | Obsolete.
Scales this instance by the given parameter.
[ILNumerics Visualization Engine] | |
Scale(Single, Single, Single, Single) | Obsolete.
Scales the current Vector4 by the given amounts.
[ILNumerics Visualization Engine] | |
Sub(Vector4) | Obsolete.
Subtract the Vector passed as parameter from this instance.
[ILNumerics Visualization Engine] | |
Sub(Vector4) | Obsolete.
Subtract the Vector passed as parameter from this instance.
[ILNumerics Visualization Engine] | |
Sub(Vector4, Vector4) |
Subtract one Vector from another
[ILNumerics Visualization Engine] | |
Sub(Vector4, Vector4, Vector4) |
Subtract one Vector from another
[ILNumerics Visualization Engine] | |
Subtract(Vector4, Vector4) |
Subtract one Vector from another
[ILNumerics Visualization Engine] | |
Subtract(Vector4, Vector4, Vector4) |
Subtract one Vector from another
[ILNumerics Visualization Engine] | |
ToString |
Returns a System.String that represents the current Vector4.
(Overrides ValueTypeToString.)[ILNumerics Visualization Engine] | |
ToXMLAttrString |
Convert this vector into a short string representation, suitable for xml attribute serialization
[ILNumerics Visualization Engine] | |
Transform(Vector4, Quaternion) |
Transforms a vector by a quaternion rotation.
[ILNumerics Visualization Engine] | |
Transform(Vector4, Quaternion, Vector4) |
Transforms a vector by a quaternion rotation.
[ILNumerics Visualization Engine] |
Name | Description | |
---|---|---|
Addition |
Adds two instances.
[ILNumerics Visualization Engine] | |
Division |
Divides an instance by a scalar.
[ILNumerics Visualization Engine] | |
Equality |
Compares two instances for equality.
[ILNumerics Visualization Engine] | |
(Vector4 to Single*) |
Returns a pointer to the first element of the specified instance.
[ILNumerics Visualization Engine] | |
(Vector4 to IntPtr) |
Returns a pointer to the first element of the specified instance.
[ILNumerics Visualization Engine] | |
(Vector3 to Vector4) | ||
Inequality |
Compares two instances for inequality.
[ILNumerics Visualization Engine] | |
Multiply(Single, Vector4) |
Multiplies an instance by a scalar.
[ILNumerics Visualization Engine] | |
Multiply(Vector4, Single) |
Multiplies an instance by a scalar.
[ILNumerics Visualization Engine] | |
Subtraction |
Subtracts two instances.
[ILNumerics Visualization Engine] | |
UnaryNegation |
Negates an instance.
[ILNumerics Visualization Engine] |
Name | Description | |
---|---|---|
One |
Defines an instance with all components set to 1.
| |
SizeInBytes |
Defines the size of the Vector4 struct in bytes.
| |
UnitW |
Defines a unit-length Vector4 that points towards the W-axis.
| |
UnitX |
Defines a unit-length Vector4 that points towards the X-axis.
| |
UnitY |
Defines a unit-length Vector4 that points towards the Y-axis.
| |
UnitZ |
Defines a unit-length Vector4 that points towards the Z-axis.
| |
W |
The W component of the Vector4.
| |
X |
The X component of the Vector4.
| |
Y |
The Y component of the Vector4.
| |
Z |
The Z component of the Vector4.
| |
Zero |
Defines a zero-length Vector4.
|
Name | Description | |
---|---|---|
ToColor |
Converts this Vector4 instance into a Color.
(Defined by ExtensionMethods.)[ILNumerics Visualization Engine] |
[ILNumerics Visualization Engine]