Vector4 Structure |
Namespace: Lumiscaphe.Workshop.Interop
The Vector4 type exposes the following members.
| Name | Description | |
|---|---|---|
| Vector4 |
Initializes a new instance of the Vector4 structure with x, y, z and w coordinates.
|
| Name | Description | |
|---|---|---|
| Inversed |
Gets the inversed vector.
| |
| Length |
Gets the length of the vector.
| |
| Negated |
Gets the negated vector.
| |
| Normalized |
Gets the normalized vector.
| |
| Projected |
Gets the projected vector. X, Y and Z coordinates are divided by the W coordinate.
| |
| Square |
Gets the square length of the vector.
|
| Name | Description | |
|---|---|---|
| Add |
Add a vector to the vector.
| |
| Clamp |
Clamps the vector components between a minimum and a maximum values.
| |
| Divide(Single) |
Divide the vector by a scalar.
| |
| Divide(Vector4) |
Divide the vector by a vector.
| |
| DotProduct |
Computes the dot product of the two vectors.
| |
| Equal |
Tells if the two vector are equals.
| |
| Equals |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Maximum |
Gets the maximum vector values of the two vectors.
| |
| Minimum |
Gets the minimum vector values of the two vectors.
| |
| Multiply(Single) |
Multiply the vector by a scalar.
| |
| Multiply(Vector4) |
Multiply the vector by a vector.
| |
| Substract |
Subtract a vector to the vector.
| |
| ToString |
Format the Vector4 to a String.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Addition |
Add operator between two vectors.
| |
| BitwiseOr |
Components divide operator between the two vectors.
| |
| Division |
Divide operator between a vector and a scalar.
| |
| Equality |
Equal operator between the two vectors.
| |
| GreaterThan |
Greater than operator between the two vectors.
| |
| Inequality |
Difference operator between the two vectors.
| |
| LessThan |
Less than operator between the two vectors.
| |
| Modulus |
Components multiply operator between the two vectors.
| |
| Multiply(Single, Vector4) |
Multiply operator between a scalar and a vector.
| |
| Multiply(Vector4, Vector4) |
Dot product operator between the two vectors.
| |
| Multiply(Vector4, Single) |
Multiply operator between a vector and a scalar.
| |
| OnesComplement |
Normalize operator.
| |
| Subtraction |
Subtract operator between the two vectors.
| |
| UnaryNegation |
Negate operator.
| |
| UnaryPlus |
Plus operator.
|
| Name | Description | |
|---|---|---|
| One |
The one vector.
| |
| W |
Gets or sets the w-coordinate.
| |
| WAxis |
The w-axis vector.
| |
| X |
Gets or sets the x-coordinate.
| |
| XAxis |
The x-axis vector.
| |
| Y |
Gets or sets the y-coordinate.
| |
| YAxis |
The y-axis vector.
| |
| Z |
Gets or sets the z-coordinate.
| |
| ZAxis |
The z-axis vector.
| |
| Zero |
The zero vector.
|