static void TMPro.TMP_MaterialManager.AddFallbackMaterialReference |
( |
Material |
targetMaterial | ) |
|
|
inlinestatic |
static void TMPro.TMP_MaterialManager.AddMaskingMaterial |
( |
Material |
baseMaterial, |
|
|
Material |
stencilMaterial, |
|
|
int |
stencilID |
|
) |
| |
|
inlinestatic |
static void TMPro.TMP_MaterialManager.CleanupFallbackMaterials |
( |
| ) |
|
|
inlinestatic |
static void TMPro.TMP_MaterialManager.ClearMaterials |
( |
| ) |
|
|
inlinestatic |
static void TMPro.TMP_MaterialManager.CopyMaterialPresetProperties |
( |
Material |
source, |
|
|
Material |
destination |
|
) |
| |
|
inlinestatic |
Function to copy the properties of a source material preset to another while preserving the unique font asset properties of the destination material.
- Parameters
-
static Material TMPro.TMP_MaterialManager.GetBaseMaterial |
( |
Material |
stencilMaterial | ) |
|
|
inlinestatic |
static Material TMPro.TMP_MaterialManager.GetFallbackMaterial |
( |
Material |
sourceMaterial, |
|
|
Material |
targetMaterial |
|
) |
| |
|
inlinestatic |
This function returns a material instance using the material properties of a previous material but using the font atlas texture of the new font asset.
- Parameters
-
sourceMaterial | The material containing the source material properties to be copied to the new material. |
targetMaterial | The font atlas texture that should be assigned to the new material. |
- Returns
static Material TMPro.TMP_MaterialManager.GetMaterialForRendering |
( |
MaskableGraphic |
graphic, |
|
|
Material |
baseMaterial |
|
) |
| |
|
inlinestatic |
static int TMPro.TMP_MaterialManager.GetStencilID |
( |
GameObject |
obj | ) |
|
|
inlinestatic |
Function to get the Stencil ID
- Parameters
-
- Returns
static Material TMPro.TMP_MaterialManager.GetStencilMaterial |
( |
Material |
baseMaterial, |
|
|
int |
stencilID |
|
) |
| |
|
inlinestatic |
Create a Masking Material Instance for the given ID
- Parameters
-
- Returns
static void TMPro.TMP_MaterialManager.ReleaseBaseMaterial |
( |
Material |
baseMaterial | ) |
|
|
inlinestatic |
static void TMPro.TMP_MaterialManager.ReleaseFallbackMaterial |
( |
Material |
fallackMaterial | ) |
|
|
inlinestatic |
Function to release the fallback material.
- Parameters
-
static void TMPro.TMP_MaterialManager.ReleaseStencilMaterial |
( |
Material |
stencilMaterial | ) |
|
|
inlinestatic |
Function to release the stencil material.
- Parameters
-
static void TMPro.TMP_MaterialManager.RemoveFallbackMaterialReference |
( |
Material |
targetMaterial | ) |
|
|
inlinestatic |
static void TMPro.TMP_MaterialManager.RemoveStencilMaterial |
( |
Material |
stencilMaterial | ) |
|
|
inlinestatic |
static Material TMPro.TMP_MaterialManager.SetStencil |
( |
Material |
material, |
|
|
int |
stencilID |
|
) |
| |
|
inlinestatic |
Function to set the Material Stencil ID
- Parameters
-
- Returns
The documentation for this class was generated from the following file: