C# Class EzGame.Perspective.Planar.Textures.Origin

Afficher le fichier Open project: CodeTreeCommunity/Shooter2D

Méthodes publiques

Свойство Type Description
IsScale bool
Value Vector2

Méthodes publiques

Méthode Description
Origin ( float Value, bool IsScale = false ) : System

Create a new Origin

Origin ( float X, float Y, bool IsScale = false ) : System

Create a new Origin

Method Details

Origin() public méthode

Create a new Origin
public Origin ( float Value, bool IsScale = false ) : System
Value float The value of both X and Y axis.
IsScale bool Is the value a scale of the texture size?
Résultat System

Origin() public méthode

Create a new Origin
public Origin ( float X, float Y, bool IsScale = false ) : System
X float The X axis value.
Y float The Y axis value.
IsScale bool Is the value a scale of the texture size?
Résultat System

Property Details

IsScale public_oe property

public bool IsScale
Résultat bool

Value public_oe property

public Vector2 Value
Résultat Vector2