Vector3 Constructor (Vector2, Single)
Initializes a new instance of Vector3.
Syntax
'Declaration
Public Sub New ( _
value As Vector2, _
z As Single _
)
public Vector3 (
Vector2 value,
float z
)
public:
Vector3(
Vector2 value,
float z
)
Parameters
- value
Type: Vector2
A vector containing the values to initialize x and y components with. - z
Type: Single
Initial value for the z-component of the vector.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone