Class TMP_SubMesh
Inheritance
Object
Component
Behaviour
MonoBehaviour
TMP_SubMesh
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
[ExecuteInEditMode]
[RequireComponent(typeof(MeshRenderer))]
[RequireComponent(typeof(MeshFilter))]
public class TMP_SubMesh : MonoBehaviour
Properties
|
Edit this page
View Source
boxCollider
Declaration
public BoxCollider boxCollider { get; }
Property Value
Type |
Description |
BoxCollider |
|
|
Edit this page
View Source
fallbackMaterial
Declaration
public Material fallbackMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
|
Edit this page
View Source
fallbackSourceMaterial
Declaration
public Material fallbackSourceMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
|
Edit this page
View Source
fontAsset
Declaration
public TMP_FontAsset fontAsset { get; set; }
Property Value
|
Edit this page
View Source
isDefaultMaterial
Declaration
public bool isDefaultMaterial { get; set; }
Property Value
|
Edit this page
View Source
material
Declaration
public Material material { get; set; }
Property Value
Type |
Description |
Material |
|
|
Edit this page
View Source
mesh
Declaration
public Mesh mesh { get; set; }
Property Value
|
Edit this page
View Source
meshFilter
Declaration
public MeshFilter meshFilter { get; }
Property Value
Type |
Description |
MeshFilter |
|
|
Edit this page
View Source
padding
Declaration
public float padding { get; set; }
Property Value
|
Edit this page
View Source
renderer
Declaration
public Renderer renderer { get; }
Property Value
Type |
Description |
Renderer |
|
|
Edit this page
View Source
sharedMaterial
Declaration
public Material sharedMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
|
Edit this page
View Source
spriteAsset
Declaration
public TMP_SpriteAsset spriteAsset { get; set; }
Property Value
Methods
|
Edit this page
View Source
AddSubTextObject(TextMeshPro, MaterialReference)
Declaration
public static TMP_SubMesh AddSubTextObject(TextMeshPro textComponent, MaterialReference materialReference)
Parameters
Returns
|
Edit this page
View Source
DestroySelf()
Declaration
public void DestroySelf()
|
Edit this page
View Source
Declaration
public float GetPaddingForMaterial()
Returns
|
Edit this page
View Source
SetMaterialDirty()
Declaration
public void SetMaterialDirty()
|
Edit this page
View Source
SetVerticesDirty()
Declaration
public void SetVerticesDirty()
|
Edit this page
View Source
UpdateColliders(int)
Declaration
public void UpdateColliders(int vertexCount)
Parameters
Type |
Name |
Description |
int |
vertexCount |
|
|
Edit this page
View Source
UpdateMaterial()
Declaration
protected void UpdateMaterial()
|
Edit this page
View Source
UpdateMeshPadding(bool, bool)
Declaration
public void UpdateMeshPadding(bool isExtraPadding, bool isUsingBold)
Parameters
Type |
Name |
Description |
bool |
isExtraPadding |
|
bool |
isUsingBold |
|
Extension Methods