Class TMP_MaterialManager
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
public static class TMP_MaterialManager
Methods
| Name | Description |
|---|---|
| AddFallbackMaterialReference(Material) | |
| AddMaskingMaterial(Material, Material, int) | |
| CleanupFallbackMaterials() | |
| ClearMaterials() | |
| CopyMaterialPresetProperties(Material, Material) | Function to copy the properties of a source material preset to another while preserving the unique font asset properties of the destination material. |
| GetBaseMaterial(Material) | |
| GetFallbackMaterial(Material, Material) | 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. |
| GetMaterialForRendering(MaskableGraphic, Material) | |
| GetStencilID(GameObject) | Function to get the Stencil ID |
| GetStencilMaterial(Material, int) | Create a Masking Material Instance for the given ID |
| ReleaseBaseMaterial(Material) | |
| ReleaseFallbackMaterial(Material) | Function to release the fallback material. |
| ReleaseStencilMaterial(Material) | Function to release the stencil material. |
| RemoveFallbackMaterialReference(Material) | |
| RemoveStencilMaterial(Material) | |
| SetStencil(Material, int) | Function to set the Material Stencil ID |