Class InlineGraphicManager
Inheritance
Object
Component
Behaviour
MonoBehaviour
InlineGraphicManager
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
[ExecuteInEditMode]
public class InlineGraphicManager : MonoBehaviour
Properties
|
Edit this page
View Source
canvasRenderer
Declaration
public CanvasRenderer canvasRenderer { get; }
Property Value
Type |
Description |
CanvasRenderer |
|
|
Edit this page
View Source
inlineGraphic
Declaration
public InlineGraphic inlineGraphic { get; set; }
Property Value
|
Edit this page
View Source
spriteAsset
Declaration
public TMP_SpriteAsset spriteAsset { get; set; }
Property Value
|
Edit this page
View Source
uiVertex
Declaration
public UIVertex[] uiVertex { get; }
Property Value
Type |
Description |
UIVertex[] |
|
Methods
|
Edit this page
View Source
AddInlineGraphicsChild()
Declaration
public void AddInlineGraphicsChild()
|
Edit this page
View Source
AllocatedVertexBuffers(int)
Declaration
public void AllocatedVertexBuffers(int size)
Parameters
Type |
Name |
Description |
int |
size |
|
|
Edit this page
View Source
ClearUIVertex()
Declaration
public void ClearUIVertex()
|
Edit this page
View Source
DrawSprite(UIVertex[], int)
Declaration
public void DrawSprite(UIVertex[] uiVertices, int spriteCount)
Parameters
Type |
Name |
Description |
UIVertex[] |
uiVertices |
|
int |
spriteCount |
|
|
Edit this page
View Source
GetSprite(int)
Declaration
public TMP_Sprite GetSprite(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Returns
|
Edit this page
View Source
GetSpriteIndexByHashCode(int)
Declaration
public int GetSpriteIndexByHashCode(int hashCode)
Parameters
Type |
Name |
Description |
int |
hashCode |
|
Returns
|
Edit this page
View Source
GetSpriteIndexByIndex(int)
Declaration
public int GetSpriteIndexByIndex(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Returns
|
Edit this page
View Source
SetUIVertex(UIVertex[])
Declaration
public void SetUIVertex(UIVertex[] uiVertex)
Parameters
Type |
Name |
Description |
UIVertex[] |
uiVertex |
|
|
Edit this page
View Source
UpdatePivot(Vector2)
Declaration
public void UpdatePivot(Vector2 pivot)
Parameters
Type |
Name |
Description |
Vector2 |
pivot |
|
Extension Methods