C# Class hyades.physics.Shape

Show file Open project: zfedoran/bubblebound Class Usage Examples

Public Properties

Property Type Description
count int
points Vector2[]

Public Methods

Method Description
CenterAtZero ( ) : void
Clone ( ) : Shape
GetCenter ( ) : Vector2
Shape ( Vector2 points, bool center ) : System
Transform ( Vector2 &points, Vector2 &position, float angle, Vector2 &scale, Vector2 &list ) : void

Method Details

CenterAtZero() public method

public CenterAtZero ( ) : void
return void

Clone() public method

public Clone ( ) : Shape
return Shape

GetCenter() public method

public GetCenter ( ) : Vector2
return Vector2

Shape() public method

public Shape ( Vector2 points, bool center ) : System
points Vector2
center bool
return System

Transform() public static method

public static Transform ( Vector2 &points, Vector2 &position, float angle, Vector2 &scale, Vector2 &list ) : void
points Vector2
position Vector2
angle float
scale Vector2
list Vector2
return void

Property Details

count public property

public int count
return int

points public property

public Vector2[] points
return Vector2[]