C# Class Cascade.GameExtensions

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

Méthodes publiques

Méthode Description
Average ( this floats ) : float
GetCenter ( this tex ) : Vector2
GetColorFromHue ( float Hue ) : Color
GetFieldInfo ( string property, object o ) : FieldAndObjectInfo
GetStaticFieldInfo ( string property ) : FieldAndObjectInfo
GetValue ( this member, object obj ) : object
MinDistance ( this rec, float objZ, Vector3 vec ) : float
PrintAll ( this floats ) : string
SetValue ( this member, object obj, object value ) : void
ToVector2 ( this vec ) : Vector2
ToVector3 ( this vec ) : Vector3
Type ( this member ) : Type

Method Details

Average() public static méthode

public static Average ( this floats ) : float
floats this
Résultat float

GetCenter() public static méthode

public static GetCenter ( this tex ) : Vector2
tex this
Résultat Vector2

GetColorFromHue() public static méthode

public static GetColorFromHue ( float Hue ) : Color
Hue float
Résultat Color

GetFieldInfo() public static méthode

public static GetFieldInfo ( string property, object o ) : FieldAndObjectInfo
property string
o object
Résultat FieldAndObjectInfo

GetStaticFieldInfo() public static méthode

public static GetStaticFieldInfo ( string property ) : FieldAndObjectInfo
property string
Résultat FieldAndObjectInfo

GetValue() public static méthode

public static GetValue ( this member, object obj ) : object
member this
obj object
Résultat object

MinDistance() public static méthode

public static MinDistance ( this rec, float objZ, Vector3 vec ) : float
rec this
objZ float
vec Vector3
Résultat float

PrintAll() public static méthode

public static PrintAll ( this floats ) : string
floats this
Résultat string

SetValue() public static méthode

public static SetValue ( this member, object obj, object value ) : void
member this
obj object
value object
Résultat void

ToVector2() public static méthode

public static ToVector2 ( this vec ) : Vector2
vec this
Résultat Vector2

ToVector3() public static méthode

public static ToVector3 ( this vec ) : Vector3
vec this
Résultat Vector3

Type() public static méthode

public static Type ( this member ) : Type
member this
Résultat System.Type