Vector4d Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a 4D vector using four double-precision floating-point numbers.
[System.Serializable]
public struct Vector4d : IEquatable<OpenTK.Vector4d>
type Vector4d = struct
- Inheritance
-
Vector4d
- Attributes
- Implements
Vector4d(Double, Double, Double, Double) |
Constructs a new Vector4d. |
Vector4d(Double) | |
Vector4d(Vector2d) |
Constructs a new Vector4d from the given Vector2d. |
Vector4d(Vector3, Double) | |
Vector4d(Vector3d, Double) | |
Vector4d(Vector3d) |
Constructs a new Vector4d from the given Vector3d. |
Vector4d(Vector4d) |
Constructs a new Vector4d from the given Vector4d. |
One |
Defines an instance with all components set to 1. |
Size |
Defines the size of the Vector4d struct in bytes. |
UnitW |
Defines a unit-length Vector4d that points towards the W-axis. |
UnitX |
Defines a unit-length Vector4d that points towards the X-axis. |
UnitY |
Defines a unit-length Vector4d that points towards the Y-axis. |
UnitZ |
Defines a unit-length Vector4d that points towards the Z-axis. |
W |
The Z component of the Vector4d. |
X |
The X component of the Vector4d. |
Y |
The Y component of the Vector4d. |
Z |
The Z component of the Vector4d. |
Zero |
Defines a zero-length Vector4d. |
Length |
Gets the length (magnitude) of the vector. |
Length |
Gets an approximation of the vector length (magnitude). |
Length |
Gets the square of the vector length (magnitude). |
Xy |
Gets or sets an OpenTK.Vector2d with the X and Y components of this instance. |
Xyz |
Gets or sets an OpenTK.Vector3d with the X, Y and Z components of this instance. |