Vector2 Constructor (Single, Single) |
Constructs a new
Vector2 with the given components.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2(
float x,
float y
)
Parameters
- x
- Type: SystemSingle
The vector's X component. - y
- Type: SystemSingle
The vector's Y component.
See Also