static void TMPro.MaterialReferenceManager.AddColorGradientPreset |
( |
int |
hashCode, |
|
|
TMP_ColorGradient |
spriteAsset |
|
) |
| |
|
inlinestatic |
Add new Color Gradient Preset to dictionary.
- Parameters
-
static void TMPro.MaterialReferenceManager.AddFontAsset |
( |
TMP_FontAsset |
fontAsset | ) |
|
|
inlinestatic |
Add new font asset reference to dictionary.
- Parameters
-
static void TMPro.MaterialReferenceManager.AddFontMaterial |
( |
int |
hashCode, |
|
|
Material |
material |
|
) |
| |
|
inlinestatic |
Add new Material reference to dictionary.
- Parameters
-
static void TMPro.MaterialReferenceManager.AddSpriteAsset |
( |
TMP_SpriteAsset |
spriteAsset | ) |
|
|
inlinestatic |
Add new Sprite Asset to dictionary.
- Parameters
-
static void TMPro.MaterialReferenceManager.AddSpriteAsset |
( |
int |
hashCode, |
|
|
TMP_SpriteAsset |
spriteAsset |
|
) |
| |
|
inlinestatic |
Add new Sprite Asset to dictionary.
- Parameters
-
bool TMPro.MaterialReferenceManager.Contains |
( |
TMP_FontAsset |
font | ) |
|
|
inline |
Add new material reference and return the index of this new reference in the materialReferences array.
- Parameters
-
material | |
materialHashCode | |
fontAsset | |
Add new material reference and return the index of this new reference in the materialReferences array.
- Parameters
-
material | |
materialHashCode | |
spriteAsset | |
- Returns
Function to check if the font asset is already referenced.
- Parameters
-
- Returns
Function to check if the sprite asset is already referenced.
- Parameters
-
- Returns
static bool TMPro.MaterialReferenceManager.TryGetColorGradientPreset |
( |
int |
hashCode, |
|
|
out TMP_ColorGradient |
gradientPreset |
|
) |
| |
|
inlinestatic |
Function returning the Color Gradient Preset corresponding to the provided hash code.
- Parameters
-
- Returns
static bool TMPro.MaterialReferenceManager.TryGetFontAsset |
( |
int |
hashCode, |
|
|
out TMP_FontAsset |
fontAsset |
|
) |
| |
|
inlinestatic |
Function returning the Font Asset corresponding to the provided hash code.
- Parameters
-
- Returns
static bool TMPro.MaterialReferenceManager.TryGetMaterial |
( |
int |
hashCode, |
|
|
out Material |
material |
|
) |
| |
|
inlinestatic |
Function returning the Font Material corresponding to the provided hash code.
- Parameters
-
- Returns
static bool TMPro.MaterialReferenceManager.TryGetSpriteAsset |
( |
int |
hashCode, |
|
|
out TMP_SpriteAsset |
spriteAsset |
|
) |
| |
|
inlinestatic |
Function returning the Sprite Asset corresponding to the provided hash code.
- Parameters
-
- Returns
Get a singleton instance of the registry
The documentation for this class was generated from the following file: