C# Class Afterglow.Math.Vector2

Show file Open project: Christof/afterglow Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns the fully qualified type name of this instance.

Vector2 ( float values ) : System

Initializes a new instance of the Vector2 struct.

Vector2 ( float x, float y ) : System

Initializes a new instance of the Vector3 struct.

Method Details

ToString() public method

Returns the fully qualified type name of this instance.
public ToString ( ) : string
return string

Vector2() public method

Initializes a new instance of the Vector2 struct.
public Vector2 ( float values ) : System
values float The values.
return System

Vector2() public method

Initializes a new instance of the Vector3 struct.
public Vector2 ( float x, float y ) : System
x float The value for the X-axis.
y float The value for the Y-axis.
return System