C# Class FSO.Client.UI.Framework.Matrix2D

Simpler Matrix object which requires less new object creation for UI system
Show file Open project: RHY3756547/FreeSO

Public Properties

Property Type Description
DEFAULT_SCALE float[]
IDENTITY float[]

Public Methods

Method Description
CloneMatrix ( this M ) : float[]
ExtractScale ( this M ) : float[]
ExtractScaleVector ( this M ) : Vector2
Invert ( this M ) : float[]
Scale ( this M, float sx, float sy ) : void
TransformPoint ( this M, Vector2 point ) : Vector2
TransformPoint ( this M, float x, float y ) : Vector2
TransformPoint ( this M, float &x, float &y ) : void
Translate ( this M, float x, float y ) : void

Method Details

CloneMatrix() public static method

public static CloneMatrix ( this M ) : float[]
M this
return float[]

ExtractScale() public static method

public static ExtractScale ( this M ) : float[]
M this
return float[]

ExtractScaleVector() public static method

public static ExtractScaleVector ( this M ) : Vector2
M this
return Vector2

Invert() public static method

public static Invert ( this M ) : float[]
M this
return float[]

Scale() public static method

public static Scale ( this M, float sx, float sy ) : void
M this
sx float
sy float
return void

TransformPoint() public static method

public static TransformPoint ( this M, Vector2 point ) : Vector2
M this
point Vector2
return Vector2

TransformPoint() public static method

public static TransformPoint ( this M, float x, float y ) : Vector2
M this
x float
y float
return Vector2

TransformPoint() public static method

public static TransformPoint ( this M, float &x, float &y ) : void
M this
x float
y float
return void

Translate() public static method

public static Translate ( this M, float x, float y ) : void
M this
x float
y float
return void

Property Details

DEFAULT_SCALE public static property

public static float[] DEFAULT_SCALE
return float[]

IDENTITY public static property

public static float[] IDENTITY
return float[]