Tanoda
UnityEngine.UI.Extensions.UIGridRenderer Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.UIGridRenderer:
UnityEngine.UI.Extensions.UILineRenderer UnityEngine.UI.Extensions.UIPrimitiveBase

Protected Member Functions

override void OnPopulateMesh (VertexHelper vh)
 
- Protected Member Functions inherited from UnityEngine.UI.Extensions.UILineRenderer
override void OnPopulateMesh (VertexHelper vh)
 
override void GeneratedUVs ()
 
override void ResolutionToNativeSize (float distance)
 
- Protected Member Functions inherited from UnityEngine.UI.Extensions.UIPrimitiveBase
 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 ()
 

Properties

int GridColumns [get, set]
 Number of columns in the Grid More...
 
int GridRows [get, set]
 Number of rows in the grid. More...
 
- Properties inherited from UnityEngine.UI.Extensions.UILineRenderer
float LineThickness [get, set]
 
bool RelativeSize [get, set]
 
bool LineList [get, set]
 
bool LineCaps [get, set]
 
int BezierSegmentsPerCurve [get, set]
 
Vector2[] Points [get, set]
 Points to be drawn in the line. More...
 
List< Vector2[]> Segments [get, set]
 List of Segments to be drawn. More...
 
- Properties inherited from UnityEngine.UI.Extensions.UIPrimitiveBase
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]
 

Additional Inherited Members

- Public Types inherited from UnityEngine.UI.Extensions.UILineRenderer
enum  JoinType { Bevel , Miter }
 
enum  BezierType {
  None , Quick , Basic , Improved ,
  Catenary
}
 
- Public Member Functions inherited from UnityEngine.UI.Extensions.UILineRenderer
Vector2 GetPosition (int index, int segmentIndex=0)
 Get the Vector2 position of a line index More...
 
Vector2 GetPositionBySegment (int index, int segment)
 Get the Vector2 position of a line within a specific segment More...
 
Vector2 GetClosestPoint (Vector2 p1, Vector2 p2, Vector2 p3)
 Get the closest point between two given Vector2s from a given Vector2 point More...
 
- Public Member Functions inherited from UnityEngine.UI.Extensions.UIPrimitiveBase
virtual void CalculateLayoutInputHorizontal ()
 
virtual void CalculateLayoutInputVertical ()
 
virtual bool IsRaycastLocationValid (Vector2 screenPoint, Camera eventCamera)
 
- Public Attributes inherited from UnityEngine.UI.Extensions.UILineRenderer
JoinType LineJoins = JoinType.Bevel
 
BezierType BezierMode = BezierType.None
 
bool drivenExternally = false
 
- Protected Attributes inherited from UnityEngine.UI.Extensions.UIPrimitiveBase
float m_Resolution
 
- Static Protected Attributes inherited from UnityEngine.UI.Extensions.UIPrimitiveBase
static Material s_ETC1DefaultUI = null
 

Detailed Description

Definition at line 8 of file UIGridRenderer.cs.

Member Function Documentation

◆ OnPopulateMesh()

override void UnityEngine.UI.Extensions.UIGridRenderer.OnPopulateMesh ( VertexHelper  vh)
protected

Definition at line 53 of file UIGridRenderer.cs.

Property Documentation

◆ GridColumns

int UnityEngine.UI.Extensions.UIGridRenderer.GridColumns
getset

Number of columns in the Grid

Definition at line 18 of file UIGridRenderer.cs.

◆ GridRows

int UnityEngine.UI.Extensions.UIGridRenderer.GridRows
getset

Number of rows in the grid.

Definition at line 37 of file UIGridRenderer.cs.


The documentation for this class was generated from the following file: