Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
TMPro.TMP_SubMesh Class Reference
Inheritance diagram for TMPro.TMP_SubMesh:

Public Member Functions

void DestroySelf ()
 
float GetPaddingForMaterial ()
 Function called when the padding value for the material needs to be re-calculated. More...
 
void SetMaterialDirty ()
 
void SetVerticesDirty ()
 
void UpdateColliders (int vertexCount)
 
void UpdateMeshPadding (bool isExtraPadding, bool isUsingBold)
 Function to update the padding values of the object. More...
 

Static Public Member Functions

static TMP_SubMesh AddSubTextObject (TextMeshPro textComponent, MaterialReference materialReference)
 

Protected Member Functions

void UpdateMaterial ()
 

Properties

BoxCollider boxCollider [get]
 
Material fallbackMaterial [get, set]
 The fallback material created from the properties of the fallback source material. More...
 
Material fallbackSourceMaterial [get, set]
 The source material used by the fallback font More...
 
TMP_FontAsset fontAsset [get, set]
 The TMP Font Asset assigned to this sub text object. More...
 
bool isDefaultMaterial [get, set]
 Is the text object using the default font asset material. More...
 
Material material [get, set]
 The material to be assigned to this object. Returns an instance of the material. More...
 
Mesh mesh [get, set]
 The Mesh of this text sub object. More...
 
MeshFilter meshFilter [get]
 The MeshFilter of this text sub object. More...
 
float padding [get, set]
 Padding value resulting for the property settings on the material. More...
 
new Renderer renderer [get]
 The Mesh Renderer of this text sub object. More...
 
Material sharedMaterial [get, set]
 The material to be assigned to this text object. More...
 
TMP_SpriteAsset spriteAsset [get, set]
 The TMP Sprite Asset assigned to this sub text object. More...
 

Member Function Documentation

static TMP_SubMesh TMPro.TMP_SubMesh.AddSubTextObject ( TextMeshPro  textComponent,
MaterialReference  materialReference 
)
inlinestatic
void TMPro.TMP_SubMesh.DestroySelf ( )
inline
float TMPro.TMP_SubMesh.GetPaddingForMaterial ( )
inline

Function called when the padding value for the material needs to be re-calculated.

Returns
void TMPro.TMP_SubMesh.SetMaterialDirty ( )
inline

void TMPro.TMP_SubMesh.SetVerticesDirty ( )
inline

void TMPro.TMP_SubMesh.UpdateColliders ( int  vertexCount)
inline

void TMPro.TMP_SubMesh.UpdateMaterial ( )
inlineprotected

void TMPro.TMP_SubMesh.UpdateMeshPadding ( bool  isExtraPadding,
bool  isUsingBold 
)
inline

Function to update the padding values of the object.

Parameters
isExtraPadding
isBold

Property Documentation

BoxCollider TMPro.TMP_SubMesh.boxCollider
get

Material TMPro.TMP_SubMesh.fallbackMaterial
getset

The fallback material created from the properties of the fallback source material.

Material TMPro.TMP_SubMesh.fallbackSourceMaterial
getset

The source material used by the fallback font

TMP_FontAsset TMPro.TMP_SubMesh.fontAsset
getset

The TMP Font Asset assigned to this sub text object.

bool TMPro.TMP_SubMesh.isDefaultMaterial
getset

Is the text object using the default font asset material.

Material TMPro.TMP_SubMesh.material
getset

The material to be assigned to this object. Returns an instance of the material.

Mesh TMPro.TMP_SubMesh.mesh
getset

The Mesh of this text sub object.

MeshFilter TMPro.TMP_SubMesh.meshFilter
get

The MeshFilter of this text sub object.

float TMPro.TMP_SubMesh.padding
getset

Padding value resulting for the property settings on the material.

new Renderer TMPro.TMP_SubMesh.renderer
get

The Mesh Renderer of this text sub object.

Material TMPro.TMP_SubMesh.sharedMaterial
getset

The material to be assigned to this text object.

TMP_SpriteAsset TMPro.TMP_SubMesh.spriteAsset
getset

The TMP Sprite Asset assigned to this sub text object.


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