Tanoda
UnityEngine.UI.Extensions.CUIGraphic Class Reference
Inheritance diagram for UnityEngine.UI.Extensions.CUIGraphic:
UnityEngine.UI.Extensions.CUIImage UnityEngine.UI.Extensions.CUIText

Public Member Functions

void Refresh ()
 
virtual void ReportSet ()
 Check, prepare and set everything needed. More...
 
void FixTextToRectTrans ()
 
void ReferenceCUIForBCurves ()
 
override void ModifyMesh (Mesh _mesh)
 
override void ModifyMesh (VertexHelper _vh)
 
void UpdateCurveControlPointPositions ()
 
Vector3 GetBCurveSandwichSpacePoint (float _xTime, float _yTime)
 
Vector3 GetBCurveSandwichSpaceTangent (float _xTime, float _yTime)
 

Static Public Attributes

readonly static int bottomCurveIdx = 0
 
readonly static int topCurveIdx = 1
 

Protected Member Functions

void solveDoubleEquationWithVector (float _x_1, float _y_1, float _x_2, float _y_2, Vector3 _constant_1, Vector3 _contant_2, out Vector3 _x, out Vector3 _y)
 
UIVertex uiVertexLerp (UIVertex _a, UIVertex _b, float _time)
 
UIVertex uiVertexBerp (UIVertex v_bottomLeft, UIVertex v_topLeft, UIVertex v_topRight, UIVertex v_bottomRight, float _xTime, float _yTime)
 Bilinear Interpolation More...
 
void tessellateQuad (List< UIVertex > _quads, int _thisQuadIdx)
 
void tessellateGraphic (List< UIVertex > _verts)
 
override void OnRectTransformDimensionsChange ()
 
override void Awake ()
 
override void OnEnable ()
 
virtual void modifyVertices (List< UIVertex > _verts)
 

Protected Attributes

bool isCurved = true
 Describing the properties of this object. More...
 
bool isLockWithRatio = true
 
float resolution = 5.0f
 
RectTransform rectTrans
 Reference to other objects that are needed by this object. More...
 
Graphic uiGraphic
 
CUIGraphic refCUIGraphic
 
CUIBezierCurve[] refCurves
 
Vector3_Array2D[] refCurvesControlRatioPoints
 
List< UIVertex > reuse_quads = new List<UIVertex>()
 

Properties

bool IsCurved [get]
 
bool IsLockWithRatio [get]
 
RectTransform RectTrans [get]
 
Graphic UIGraphic [get]
 
CUIGraphic RefCUIGraphic [get]
 
CUIBezierCurve[] RefCurves [get]
 
Vector3_Array2D[] RefCurvesControlRatioPoints [get]
 

Detailed Description

Definition at line 16 of file CUIGraphic.cs.

Member Function Documentation

◆ Awake()

override void UnityEngine.UI.Extensions.CUIGraphic.Awake ( )
protected

Definition at line 334 of file CUIGraphic.cs.

◆ FixTextToRectTrans()

void UnityEngine.UI.Extensions.CUIGraphic.FixTextToRectTrans ( )

Definition at line 428 of file CUIGraphic.cs.

◆ GetBCurveSandwichSpacePoint()

Vector3 UnityEngine.UI.Extensions.CUIGraphic.GetBCurveSandwichSpacePoint ( float  _xTime,
float  _yTime 
)

Definition at line 603 of file CUIGraphic.cs.

◆ GetBCurveSandwichSpaceTangent()

Vector3 UnityEngine.UI.Extensions.CUIGraphic.GetBCurveSandwichSpaceTangent ( float  _xTime,
float  _yTime 
)

Definition at line 609 of file CUIGraphic.cs.

◆ ModifyMesh() [1/2]

override void UnityEngine.UI.Extensions.CUIGraphic.ModifyMesh ( Mesh  _mesh)

Definition at line 512 of file CUIGraphic.cs.

◆ ModifyMesh() [2/2]

override void UnityEngine.UI.Extensions.CUIGraphic.ModifyMesh ( VertexHelper  _vh)

Definition at line 526 of file CUIGraphic.cs.

◆ modifyVertices()

virtual void UnityEngine.UI.Extensions.CUIGraphic.modifyVertices ( List< UIVertex >  _verts)
protectedvirtual

Reimplemented in UnityEngine.UI.Extensions.CUIImage.

Definition at line 541 of file CUIGraphic.cs.

◆ OnEnable()

override void UnityEngine.UI.Extensions.CUIGraphic.OnEnable ( )
protected

Definition at line 340 of file CUIGraphic.cs.

◆ OnRectTransformDimensionsChange()

override void UnityEngine.UI.Extensions.CUIGraphic.OnRectTransformDimensionsChange ( )
protected

Definition at line 279 of file CUIGraphic.cs.

◆ ReferenceCUIForBCurves()

void UnityEngine.UI.Extensions.CUIGraphic.ReferenceCUIForBCurves ( )

Definition at line 458 of file CUIGraphic.cs.

◆ Refresh()

void UnityEngine.UI.Extensions.CUIGraphic.Refresh ( )

Definition at line 287 of file CUIGraphic.cs.

◆ ReportSet()

virtual void UnityEngine.UI.Extensions.CUIGraphic.ReportSet ( )
virtual

Check, prepare and set everything needed.

Reimplemented in UnityEngine.UI.Extensions.CUIImage, and UnityEngine.UI.Extensions.CUIText.

Definition at line 354 of file CUIGraphic.cs.

◆ solveDoubleEquationWithVector()

void UnityEngine.UI.Extensions.CUIGraphic.solveDoubleEquationWithVector ( float  _x_1,
float  _y_1,
float  _x_2,
float  _y_2,
Vector3  _constant_1,
Vector3  _contant_2,
out Vector3  _x,
out Vector3  _y 
)
protected

Definition at line 148 of file CUIGraphic.cs.

◆ tessellateGraphic()

void UnityEngine.UI.Extensions.CUIGraphic.tessellateGraphic ( List< UIVertex >  _verts)
protected

Definition at line 237 of file CUIGraphic.cs.

◆ tessellateQuad()

void UnityEngine.UI.Extensions.CUIGraphic.tessellateQuad ( List< UIVertex >  _quads,
int  _thisQuadIdx 
)
protected

Definition at line 200 of file CUIGraphic.cs.

◆ uiVertexBerp()

UIVertex UnityEngine.UI.Extensions.CUIGraphic.uiVertexBerp ( UIVertex  v_bottomLeft,
UIVertex  v_topLeft,
UIVertex  v_topRight,
UIVertex  v_bottomRight,
float  _xTime,
float  _yTime 
)
protected

Bilinear Interpolation

Definition at line 193 of file CUIGraphic.cs.

◆ uiVertexLerp()

UIVertex UnityEngine.UI.Extensions.CUIGraphic.uiVertexLerp ( UIVertex  _a,
UIVertex  _b,
float  _time 
)
protected

Definition at line 176 of file CUIGraphic.cs.

◆ UpdateCurveControlPointPositions()

void UnityEngine.UI.Extensions.CUIGraphic.UpdateCurveControlPointPositions ( )

Definition at line 572 of file CUIGraphic.cs.

Member Data Documentation

◆ bottomCurveIdx

readonly static int UnityEngine.UI.Extensions.CUIGraphic.bottomCurveIdx = 0
static

Definition at line 21 of file CUIGraphic.cs.

◆ isCurved

bool UnityEngine.UI.Extensions.CUIGraphic.isCurved = true
protected

Describing the properties of this object.

Definition at line 33 of file CUIGraphic.cs.

◆ isLockWithRatio

bool UnityEngine.UI.Extensions.CUIGraphic.isLockWithRatio = true
protected

Definition at line 44 of file CUIGraphic.cs.

◆ rectTrans

RectTransform UnityEngine.UI.Extensions.CUIGraphic.rectTrans
protected

Reference to other objects that are needed by this object.

Definition at line 65 of file CUIGraphic.cs.

◆ refCUIGraphic

CUIGraphic UnityEngine.UI.Extensions.CUIGraphic.refCUIGraphic
protected

Definition at line 86 of file CUIGraphic.cs.

◆ refCurves

CUIBezierCurve [] UnityEngine.UI.Extensions.CUIGraphic.refCurves
protected

Definition at line 97 of file CUIGraphic.cs.

◆ refCurvesControlRatioPoints

Vector3_Array2D [] UnityEngine.UI.Extensions.CUIGraphic.refCurvesControlRatioPoints
protected

Definition at line 108 of file CUIGraphic.cs.

◆ resolution

float UnityEngine.UI.Extensions.CUIGraphic.resolution = 5.0f
protected

Definition at line 56 of file CUIGraphic.cs.

◆ reuse_quads

List<UIVertex> UnityEngine.UI.Extensions.CUIGraphic.reuse_quads = new List<UIVertex>()
protected

Definition at line 142 of file CUIGraphic.cs.

◆ topCurveIdx

readonly static int UnityEngine.UI.Extensions.CUIGraphic.topCurveIdx = 1
static

Definition at line 22 of file CUIGraphic.cs.

◆ uiGraphic

Graphic UnityEngine.UI.Extensions.CUIGraphic.uiGraphic
protected

Definition at line 76 of file CUIGraphic.cs.

Property Documentation

◆ IsCurved

bool UnityEngine.UI.Extensions.CUIGraphic.IsCurved
get

Definition at line 34 of file CUIGraphic.cs.

◆ IsLockWithRatio

bool UnityEngine.UI.Extensions.CUIGraphic.IsLockWithRatio
get

Definition at line 45 of file CUIGraphic.cs.

◆ RectTrans

RectTransform UnityEngine.UI.Extensions.CUIGraphic.RectTrans
get

Definition at line 66 of file CUIGraphic.cs.

◆ RefCUIGraphic

CUIGraphic UnityEngine.UI.Extensions.CUIGraphic.RefCUIGraphic
get

Definition at line 87 of file CUIGraphic.cs.

◆ RefCurves

CUIBezierCurve [] UnityEngine.UI.Extensions.CUIGraphic.RefCurves
get

Definition at line 98 of file CUIGraphic.cs.

◆ RefCurvesControlRatioPoints

Vector3_Array2D [] UnityEngine.UI.Extensions.CUIGraphic.RefCurvesControlRatioPoints
get

Definition at line 109 of file CUIGraphic.cs.

◆ UIGraphic

Graphic UnityEngine.UI.Extensions.CUIGraphic.UIGraphic
get

Definition at line 77 of file CUIGraphic.cs.


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