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

Public Member Functions

override void ReportSet ()
 Check, prepare and set everything needed. More...
 
- Public Member Functions inherited from UnityEngine.UI.Extensions.CUIGraphic
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 Member Functions

static int ImageTypeCornerRefVertexIdx (Image.Type _type)
 For sliced and filled image only. More...
 

Public Attributes

Vector2 cornerPosRatio = Vector2.one * -1
 

Static Public Attributes

static int SlicedImageCornerRefVertexIdx = 2
 
static int FilledImageCornerRefVertexIdx = 0
 
- Static Public Attributes inherited from UnityEngine.UI.Extensions.CUIGraphic
readonly static int bottomCurveIdx = 0
 
readonly static int topCurveIdx = 1
 

Protected Member Functions

override void modifyVertices (List< UIVertex > _verts)
 
- Protected Member Functions inherited from UnityEngine.UI.Extensions.CUIGraphic
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

Vector2 oriCornerPosRatio = Vector2.one * -1
 
- Protected Attributes inherited from UnityEngine.UI.Extensions.CUIGraphic
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

Vector2 OriCornerPosRatio [get]
 
Image UIImage [get]
 
- Properties inherited from UnityEngine.UI.Extensions.CUIGraphic
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 11 of file CUIImage.cs.

Member Function Documentation

◆ ImageTypeCornerRefVertexIdx()

static int UnityEngine.UI.Extensions.CUIImage.ImageTypeCornerRefVertexIdx ( Image.Type  _type)
static

For sliced and filled image only.

Parameters
_type
Returns

Definition at line 23 of file CUIImage.cs.

◆ modifyVertices()

override void UnityEngine.UI.Extensions.CUIImage.modifyVertices ( List< UIVertex >  _verts)
protectedvirtual

Reimplemented from UnityEngine.UI.Extensions.CUIGraphic.

Definition at line 75 of file CUIImage.cs.

◆ ReportSet()

override void UnityEngine.UI.Extensions.CUIImage.ReportSet ( )
virtual

Check, prepare and set everything needed.

Reimplemented from UnityEngine.UI.Extensions.CUIGraphic.

Definition at line 66 of file CUIImage.cs.

Member Data Documentation

◆ cornerPosRatio

Vector2 UnityEngine.UI.Extensions.CUIImage.cornerPosRatio = Vector2.one * -1

Definition at line 41 of file CUIImage.cs.

◆ FilledImageCornerRefVertexIdx

int UnityEngine.UI.Extensions.CUIImage.FilledImageCornerRefVertexIdx = 0
static

Definition at line 16 of file CUIImage.cs.

◆ oriCornerPosRatio

Vector2 UnityEngine.UI.Extensions.CUIImage.oriCornerPosRatio = Vector2.one * -1
protected

Definition at line 45 of file CUIImage.cs.

◆ SlicedImageCornerRefVertexIdx

int UnityEngine.UI.Extensions.CUIImage.SlicedImageCornerRefVertexIdx = 2
static

Definition at line 15 of file CUIImage.cs.

Property Documentation

◆ OriCornerPosRatio

Vector2 UnityEngine.UI.Extensions.CUIImage.OriCornerPosRatio
get

Definition at line 46 of file CUIImage.cs.

◆ UIImage

Image UnityEngine.UI.Extensions.CUIImage.UIImage
get

Definition at line 56 of file CUIImage.cs.


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