C# Class RXUtils, FutilePrototyper

Datei anzeigen Open project: wtrebella/FutilePrototyper Class Usage Examples

Public Methods

Method Description
ExpandRect ( Rect rect, float paddingX, float paddingY ) : Rect
GetColorFromHex ( uint hex ) : Color
LogRect ( string name, Rect rect ) : void
LogVectors ( string name ) : void
LogVectorsDetailed ( string name ) : void
RXUtils ( ) : System
VectorDetailedToString ( Vector2 vector ) : string

Method Details

ExpandRect() public static method

public static ExpandRect ( Rect rect, float paddingX, float paddingY ) : Rect
rect Rect
paddingX float
paddingY float
return Rect

GetColorFromHex() public static method

public static GetColorFromHex ( uint hex ) : Color
hex uint
return Color

LogRect() public static method

public static LogRect ( string name, Rect rect ) : void
name string
rect Rect
return void

LogVectors() public static method

public static LogVectors ( string name ) : void
name string
return void

LogVectorsDetailed() public static method

public static LogVectorsDetailed ( string name ) : void
name string
return void

RXUtils() public method

public RXUtils ( ) : System
return System

VectorDetailedToString() public static method

public static VectorDetailedToString ( Vector2 vector ) : string
vector Vector2
return string