Vector4d Constructors
Definition
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.
Overloads
Vector4d(Vector2d) |
Constructs a new Vector4d from the given Vector2d. |
Vector4d(Vector3d) |
Constructs a new Vector4d from the given Vector3d. |
Vector4d(Vector4d) |
Constructs a new Vector4d from the given Vector4d. |
Vector4d(Double) | |
Vector4d(Vector3, Double) |
Obsolete.
|
Vector4d(Vector3d, Double) | |
Vector4d(Double, Double, Double, Double) |
Constructs a new Vector4d. |
Vector4d(Vector2d)
Constructs a new Vector4d from the given Vector2d.
public Vector4d (OpenTK.Vector2d v);
new OpenTK.Vector4d : OpenTK.Vector2d -> OpenTK.Vector4d
Parameters
- v
- Vector2d
The Vector2d to copy components from.
Applies to
Vector4d(Vector3d)
Constructs a new Vector4d from the given Vector3d.
public Vector4d (OpenTK.Vector3d v);
new OpenTK.Vector4d : OpenTK.Vector3d -> OpenTK.Vector4d
Parameters
- v
- Vector3d
The Vector3d to copy components from.
Applies to
Vector4d(Vector4d)
Constructs a new Vector4d from the given Vector4d.
public Vector4d (OpenTK.Vector4d v);
new OpenTK.Vector4d : OpenTK.Vector4d -> OpenTK.Vector4d
Parameters
- v
- Vector4d
The Vector4d to copy components from.
Applies to
Vector4d(Double)
public Vector4d (double value);
new OpenTK.Vector4d : double -> OpenTK.Vector4d
Parameters
- value
- Double
Applies to
Vector4d(Vector3, Double)
Caution
Use the Vector4d (Vector3d, double) constructor instead
[System.Obsolete("Use the Vector4d (Vector3d, double) constructor instead")]
public Vector4d (OpenTK.Vector3 v, double w);
new OpenTK.Vector4d : OpenTK.Vector3 * double -> OpenTK.Vector4d
Parameters
- v
- Vector3
- w
- Double
- Attributes
Applies to
Vector4d(Vector3d, Double)
Vector4d(Double, Double, Double, Double)
Constructs a new Vector4d.
public Vector4d (double x, double y, double z, double w);
new OpenTK.Vector4d : double * double * double * double -> OpenTK.Vector4d
Parameters
- x
- Double
The x component of the Vector4d.
- y
- Double
The y component of the Vector4d.
- z
- Double
The z component of the Vector4d.
- w
- Double
The z component of the Vector4d.