Scripting API

TMP_Settings

class in TMPro · Unity.TextMeshPro · inherits from ScriptableObject

27 of 44 of Unity's members
In Tassix

TextMeshPro's project defaults. A project's "TMP Settings" asset isn't read yet: these are the package's defaults, with Liberation Sans (the built-in font) as the default font asset.

Properties 25

static bool autoSizeTextContainer { get; }
static bool clearDynamicDataOnBuild { get; }
static TMP_FontAsset defaultFontAsset { get; set; }
static string defaultFontAssetPath { get; }
static float defaultFontSize { get; }
static float defaultTextAutoSizingMaxRatio { get; }
static float defaultTextAutoSizingMinRatio { get; }
static Vector2 defaultTextMeshProTextContainerSize { get; }
static Vector2 defaultTextMeshProUITextContainerSize { get; }
static bool enableExtraPadding { get; }
static bool enableKerning { get; }
static bool enableParseEscapeCharacters { get; }
static bool enableRaycastTarget { get; }
static bool enableTintAllSprites { get; }
static bool enableWordWrapping { get; }
static List<TMP_FontAsset> fallbackFontAssets { get; set; }
static bool getFontFeaturesAtRuntime { get; }
static TMP_Settings instance { get; }
static bool isTextObjectScaleStatic { get; }
static bool matchMaterialPreset { get; }
static int missingGlyphCharacter { get; set; }
static TextWrappingModes textWrappingMode { get; }
static bool useModernHangulLineBreakingRules { get; }
static string version { get; }
static bool warningsDisabled { get; }

Methods 3

static TMP_FontAsset GetFontAsset()
static TMP_Settings GetSettings()
static TMP_Settings LoadDefaultSettings()

Not in Tassix yet 17

DelayShowPackageImporterWindow GetSpriteAsset GetStyleSheet LoadLinebreakingRules defaultColorGradientPresetsPath defaultSpriteAsset defaultSpriteAssetPath defaultStyleSheet emojiFallbackTextAssets enableEmojiSupport followingCharacters fontFeatures hideSubTextObjects leadingCharacters linebreakingRules missingCharacterSpriteUnicode styleSheetsResourcePath