C# Class Cascade.PolygonRect

Afficher le fichier Open project: RIT-Tool-Time/Cascade Class Usage Examples

Méthodes publiques

Свойство Type Description
Origin Microsoft.Xna.Framework.Vector3
pos Microsoft.Xna.Framework.Vector2
vertices Cascade.CascadeVertex[]

Méthodes publiques

Méthode 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 méthode

Places the origin at the center of the polygons
public CenterOrigin ( ) : void
Résultat void

PolygonRect() public méthode

public PolygonRect ( float Width, float Height ) : Microsoft.Xna.Framework
Width float
Height float
Résultat Microsoft.Xna.Framework

PositionsWithRotation() public méthode

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

Property Details

Origin public_oe property

public Vector3,Microsoft.Xna.Framework Origin
Résultat Microsoft.Xna.Framework.Vector3

pos public_oe property

public Vector2,Microsoft.Xna.Framework pos
Résultat Microsoft.Xna.Framework.Vector2

vertices public_oe property

public CascadeVertex[],Cascade vertices
Résultat Cascade.CascadeVertex[]