C# Class GA_GUIHelper, TheUnseen

ファイルを表示 Open project: henryj41043/TheUnseen Class Usage Examples

Protected Properties

Property Type Description
clippingBounds Rect
clippingEnabled bool
lineMaterial Material

Public Methods

Method Description
BeginGroup ( Rect position ) : void
DrawLine ( Vector2 pointA, Vector2 pointB, Color color ) : void
EndGroup ( ) : void

Protected Methods

Method Description
clip_test ( float p, float q, float &u1, float &u2 ) : bool
segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool

Method Details

BeginGroup() public static method

public static BeginGroup ( Rect position ) : void
position Rect
return void

DrawLine() public static method

public static DrawLine ( Vector2 pointA, Vector2 pointB, Color color ) : void
pointA Vector2
pointB Vector2
color Color
return void

EndGroup() public static method

public static EndGroup ( ) : void
return void

clip_test() protected static method

protected static clip_test ( float p, float q, float &u1, float &u2 ) : bool
p float
q float
u1 float
u2 float
return bool

segment_rect_intersection() protected static method

protected static segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool
bounds Rect
p1 Vector2
p2 Vector2
return bool

Property Details

clippingBounds protected_oe static_oe property

protected static Rect clippingBounds
return Rect

clippingEnabled protected_oe static_oe property

protected static bool clippingEnabled
return bool

lineMaterial protected_oe static_oe property

protected static Material lineMaterial
return Material