Vector2.Vector2

Vector2(double)

Initializes a new instance of the Vector2 struct.

public Vector2(double s)
ParameterTypeDescription
sDoubleS.

See Also


Vector2(Vector3)

Initializes a new instance of the Vector2 struct.

public Vector2(Vector3 s)
ParameterTypeDescription
sVector3S.

See Also


Vector2(FVector2)

Initializes a new instance of the Vector2 struct.

public Vector2(FVector2 vec)
ParameterTypeDescription
vecFVector2Vector in float.

See Also


Vector2(double, double)

Initializes a new instance of the Vector2 struct.

public Vector2(double x, double y)
ParameterTypeDescription
xDoubleThe x coordinate.
yDoubleThe y coordinate.

See Also