TMPro.MaterialReference.MaterialReference |
( |
int |
index, |
|
|
TMP_FontAsset |
fontAsset, |
|
|
TMP_SpriteAsset |
spriteAsset, |
|
|
Material |
material, |
|
|
float |
padding |
|
) |
| |
|
inline |
Constructor for new Material Reference.
- Parameters
-
index | |
fontAsset | |
spriteAsset | |
material | |
padding | |
static int TMPro.MaterialReference.AddMaterialReference |
( |
Material |
material, |
|
|
TMP_FontAsset |
fontAsset, |
|
|
MaterialReference[] |
materialReferences, |
|
|
Dictionary< int, int > |
materialReferenceIndexLookup |
|
) |
| |
|
inlinestatic |
Function to add a new material reference and returning its index in the material reference array.
- Parameters
-
material | |
fontAsset | |
materialReferences | |
materialReferenceIndexLookup | |
- Returns
static int TMPro.MaterialReference.AddMaterialReference |
( |
Material |
material, |
|
|
TMP_SpriteAsset |
spriteAsset, |
|
|
MaterialReference[] |
materialReferences, |
|
|
Dictionary< int, int > |
materialReferenceIndexLookup |
|
) |
| |
|
inlinestatic |
- Parameters
-
material | |
spriteAsset | |
materialReferences | |
materialReferenceIndexLookup | |
- Returns
Function to check if a certain font asset is contained in the material reference array.
- Parameters
-
materialReferences | |
fontAsset | |
- Returns
Material TMPro.MaterialReference.fallbackMaterial |
int TMPro.MaterialReference.index |
bool TMPro.MaterialReference.isDefaultMaterial |
bool TMPro.MaterialReference.isFallbackMaterial |
Material TMPro.MaterialReference.material |
float TMPro.MaterialReference.padding |
int TMPro.MaterialReference.referenceCount |
The documentation for this struct was generated from the following file: