C# Class UnityEngine.UI.Extensions.UICornerCut

Inheritance: UnityEngine.UI.Extensions.UIPrimitiveBase
Show file Open project: renketsu0/oculus_data_vis Class Usage Examples

Public Properties

Property Type Description
colorDown Color32
colorUp Color32
cornerSize Vector2
cutLL bool
cutLR bool
cutUR bool
useColorDown bool

Protected Methods

Method Description
OnPopulateMesh ( Mesh m ) : void

Private Methods

Method Description
AddSquare ( Rect rect, Rect rectUV, Color32 color32, VertexHelper vh ) : void
AddSquare ( Vector2 a, Vector2 b, Vector2 c, Vector2 d, Rect rectUV, Color32 color32, VertexHelper vh ) : void
AddVert ( float x, float y, Rect area, Color32 color32, VertexHelper vh ) : int

Auto UV handler within the assigned area

Method Details

OnPopulateMesh() protected method

protected OnPopulateMesh ( Mesh m ) : void
m Mesh
return void

Property Details

colorDown public property

public Color32 colorDown
return Color32

colorUp public property

public Color32 colorUp
return Color32

cornerSize public property

public Vector2 cornerSize
return Vector2

cutLL public property

public bool cutLL
return bool

cutLR public property

public bool cutLR
return bool

cutUR public property

public bool cutUR
return bool

useColorDown public property

public bool useColorDown
return bool