Class TMP_Settings
Scaling options for the sprites
Inherited Members
Namespace: TMPro
Assembly: solution.dll
Syntax
[Serializable]
[ExcludeFromPreset]
public class TMP_Settings : ScriptableObject
Properties
Name | Description |
---|---|
auto |
Set the size of the text container of newly created text objects to match the size of the text. |
default |
The relative path to a Resources folder in the project that contains Color Gradient Presets. |
default |
Returns the Default Font Asset to be used by newly created text objects. |
default |
The relative path to a Resources folder in the project. |
default |
The Default Point Size of newly created text objects. |
default |
The Default Sprite Asset to be used by default. |
default |
The relative path to a Resources folder in the project. |
default |
The Default Style Sheet used by the text objects. |
default |
The multiplier used to computer the default Max point size when Text Auto Sizing is used. |
default |
The multiplier used to computer the default Min point size when Text Auto Sizing is used. |
default |
The Default Size of the Text Container of a TextMeshPro object. |
default |
The Default Width of the Text Container of a TextMeshProUI object. |
enable |
Determines if Emoji support is enabled in the Input Field TouchScreenKeyboard. |
enable |
Controls if Extra Padding is enabled on newly created text objects by default. |
enable |
Controls if Kerning is enabled on newly created text objects by default. |
enable |
Controls if Escape Characters will be parsed in the Text Input Box on newly created text objects. |
enable |
Controls if Raycast Target is enabled by default on newly created text objects. |
enable |
Controls if TintAllSprites is enabled on newly created text objects by default. |
enable |
Controls if Word Wrapping will be enabled on newly created text objects by default. |
fallback |
Returns the list of Fallback Fonts defined in the TMP Settings file. |
following |
Text file that contains the following characters used for line breaking for Asian languages. |
get |
Determines if OpenType Font Features should be retrieved at runtime from the source font file. |
instance | Get a singleton instance of the settings class. |
is |
Disables InternalUpdate() calls when true. This can improve performance when the scale of the text object is static. |
leading |
Text file that contains the leading characters used for line breaking for Asian languages. |
linebreaking |
|
match |
Controls whether or not TMP will create a matching material preset or use the default material of the fallback font asset. |
missing |
The unicode value of the sprite that will be used when the requested sprite is missing from the sprite asset and potential fallbacks. |
missing |
The character that will be used as a replacement for missing glyphs in a font asset. |
style |
The relative path to a Resources folder in the project that contains the TMP Style Sheets. |
use |
Determines if Modern or Traditional line breaking rules should be used for Korean text. |
version | Returns the release version of the product. |
warnings |
Controls the display of warning message in the console. |
Methods
Name | Description |
---|---|
Get |
Returns the Font Asset defined in the TMP Settings file. |
Get |
Returns the Sprite Asset defined in the TMP Settings file. |
Get |
Returns the Sprite Asset defined in the TMP Settings file. |
Get |
Returns the Style Sheet defined in the TMP Settings file. |
Load |
Static Function to load the TMP Settings file. |
Load |