C# Class Cascade.PolygonRect

ファイルを表示 Open project: RIT-Tool-Time/Cascade Class Usage Examples

Public Properties

Property Type Description
Origin Microsoft.Xna.Framework.Vector3
pos Microsoft.Xna.Framework.Vector2
vertices Cascade.CascadeVertex[]

Public Methods

Method Description
CenterOrigin ( ) : void

Places the origin at the center of the polygons

PolygonRect ( float Width, float Height ) : Microsoft.Xna.Framework
PositionsWithRotation ( Microsoft.Xna.Framework.Vector3 rot, float scale ) : Microsoft.Xna.Framework.Vector3[]

Method Details

CenterOrigin() public method

Places the origin at the center of the polygons
public CenterOrigin ( ) : void
return void

PolygonRect() public method

public PolygonRect ( float Width, float Height ) : Microsoft.Xna.Framework
Width float
Height float
return Microsoft.Xna.Framework

PositionsWithRotation() public method

public PositionsWithRotation ( Microsoft.Xna.Framework.Vector3 rot, float scale ) : Microsoft.Xna.Framework.Vector3[]
rot Microsoft.Xna.Framework.Vector3
scale float
return Microsoft.Xna.Framework.Vector3[]

Property Details

Origin public_oe property

public Vector3,Microsoft.Xna.Framework Origin
return Microsoft.Xna.Framework.Vector3

pos public_oe property

public Vector2,Microsoft.Xna.Framework pos
return Microsoft.Xna.Framework.Vector2

vertices public_oe property

public CascadeVertex[],Cascade vertices
return Cascade.CascadeVertex[]