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

Mostrar archivo Open project: CodeTreeCommunity/Shooter2D

Public Properties

Property Type Description
IsScale bool
Value Vector2

Public Methods

Method 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 method

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?
return System

Origin() public method

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?
return System

Property Details

IsScale public_oe property

public bool IsScale
return bool

Value public_oe property

public Vector2 Value
return Vector2