Tanoda
|
Public Member Functions | |
void | DrawPolygon (int _sides) |
void | DrawPolygon (int _sides, float[] _VerticesDistances) |
void | DrawPolygon (int _sides, float[] _VerticesDistances, float _rotation) |
![]() | |
virtual void | CalculateLayoutInputHorizontal () |
virtual void | CalculateLayoutInputVertical () |
virtual bool | IsRaycastLocationValid (Vector2 screenPoint, Camera eventCamera) |
Public Attributes | |
bool | fill = true |
float | thickness = 5 |
int | sides = 3 |
float | rotation = 0 |
float[] | VerticesDistances = new float[3] |
Protected Member Functions | |
override void | OnPopulateMesh (VertexHelper vh) |
![]() | |
UIPrimitiveBase () | |
UIVertex[] | SetVbo (Vector2[] vertices, Vector2[] uvs) |
Vector2[] | IncreaseResolution (Vector2[] input) |
List< Vector2 > | IncreaseResolution (List< Vector2 > input) |
virtual void | GeneratedUVs () |
virtual void | ResolutionToNativeSize (float distance) |
override void | OnEnable () |
Additional Inherited Members | |
![]() | |
float | m_Resolution |
![]() | |
static Material | s_ETC1DefaultUI = null |
![]() | |
Sprite | sprite [get, set] |
Sprite | overrideSprite [get, set] |
Sprite | activeSprite [get] |
float | eventAlphaThreshold [get, set] |
ResolutionMode | ImproveResolution [get, set] |
float | Resolution [get, set] |
bool | UseNativeSize [get, set] |
static Material | defaultETC1GraphicMaterial [get] |
Default material used to draw everything if no explicit material was specified. More... | |
override Texture | mainTexture [get] |
Image's texture comes from the UnityEngine.Image. More... | |
bool | hasBorder [get] |
Whether the Image has a border to work with. More... | |
float | pixelsPerUnit [get] |
override Material | material [get, set] |
virtual float | minWidth [get] |
virtual float | preferredWidth [get] |
virtual float | flexibleWidth [get] |
virtual float | minHeight [get] |
virtual float | preferredHeight [get] |
virtual float | flexibleHeight [get] |
virtual int | layoutPriority [get] |
Definition at line 7 of file UIPolygon.cs.
void UnityEngine.UI.Extensions.UIPolygon.DrawPolygon | ( | int | _sides | ) |
Definition at line 19 of file UIPolygon.cs.
void UnityEngine.UI.Extensions.UIPolygon.DrawPolygon | ( | int | _sides, |
float[] | _VerticesDistances | ||
) |
Definition at line 27 of file UIPolygon.cs.
void UnityEngine.UI.Extensions.UIPolygon.DrawPolygon | ( | int | _sides, |
float[] | _VerticesDistances, | ||
float | _rotation | ||
) |
Definition at line 34 of file UIPolygon.cs.
|
protected |
Definition at line 51 of file UIPolygon.cs.
bool UnityEngine.UI.Extensions.UIPolygon.fill = true |
Definition at line 9 of file UIPolygon.cs.
float UnityEngine.UI.Extensions.UIPolygon.rotation = 0 |
Definition at line 14 of file UIPolygon.cs.
int UnityEngine.UI.Extensions.UIPolygon.sides = 3 |
Definition at line 12 of file UIPolygon.cs.
float UnityEngine.UI.Extensions.UIPolygon.thickness = 5 |
Definition at line 10 of file UIPolygon.cs.
float [] UnityEngine.UI.Extensions.UIPolygon.VerticesDistances = new float[3] |
Definition at line 16 of file UIPolygon.cs.