Click or drag to resize

Vector2 Constructor (Single, Single)

Constructs a new Vector2 with the given components.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
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