Vector3 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
Vector3(Vector2) |
Constructs a new Vector3 from the given Vector2. |
Vector3(Vector3) |
Constructs a new Vector3 from the given Vector3. |
Vector3(Vector4) |
Constructs a new Vector3 from the given Vector4. |
Vector3(Single) | |
Vector3(Single, Single, Single) |
Constructs a new Vector3. |
Vector3(Vector2)
Constructs a new Vector3 from the given Vector2.
public Vector3 (OpenTK.Vector2 v);
new OpenTK.Vector3 : OpenTK.Vector2 -> OpenTK.Vector3
Parameters
- v
- Vector2
The Vector2 to copy components from.
Applies to
Vector3(Vector3)
Constructs a new Vector3 from the given Vector3.
public Vector3 (OpenTK.Vector3 v);
new OpenTK.Vector3 : OpenTK.Vector3 -> OpenTK.Vector3
Parameters
- v
- Vector3
The Vector3 to copy components from.
Applies to
Vector3(Vector4)
Constructs a new Vector3 from the given Vector4.
public Vector3 (OpenTK.Vector4 v);
new OpenTK.Vector3 : OpenTK.Vector4 -> OpenTK.Vector3
Parameters
- v
- Vector4
The Vector4 to copy components from.
Applies to
Vector3(Single)
public Vector3 (float value);
new OpenTK.Vector3 : single -> OpenTK.Vector3
Parameters
- value
- Single