Share via


GCPoint2 Constructors

Definition

Overloads

Name Description
GCPoint2(GCPoint2)

Initializes a new instance of the GCPoint2 struct from the specified GCPoint2.

GCPoint2(Single, Single)

Initializes a new instance of the GCPoint2 struct with the specified coordinates.

GCPoint2(GCPoint2)

Initializes a new instance of the GCPoint2 struct from the specified GCPoint2.

public GCPoint2(GameController.GCPoint2 point);
new GameController.GCPoint2 : GameController.GCPoint2 -> GameController.GCPoint2

Parameters

point
GCPoint2

The source point.

Applies to

GCPoint2(Single, Single)

Initializes a new instance of the GCPoint2 struct with the specified coordinates.

public GCPoint2(float x, float y);
new GameController.GCPoint2 : single * single -> GameController.GCPoint2

Parameters

x
Single

The X coordinate of the point.

y
Single

The X coordinate of the point.

Applies to