Vector2 Constructor(Single,Single)
In This Topic
Initializes a new instance of the
Vector2 struct.
Syntax
'Declaration
Public Function New( _
ByVal As System.Single, _
ByVal As System.Single _
)
public Vector2(
System.float ,
System.float
)
Parameters
- x
- Initial value for the X component of the vector.
- y
- Initial value for the Y component of the vector.
See Also