{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class TMP_Settings | TextMeshPro | 3.0.1
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class TMP_Settings

    Scaling options for the sprites

    Inheritance
    object
    Object
    ScriptableObject
    TMP_Settings
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: TMPro
    Assembly: solution.dll
    Syntax
    [Serializable]
    [ExcludeFromPreset]
    public class TMP_Settings : ScriptableObject

    Properties

    Name Description
    autoSizeTextContainer

    Set the size of the text container of newly created text objects to match the size of the text.

    defaultColorGradientPresetsPath

    The relative path to a Resources folder in the project that contains Color Gradient Presets.

    defaultFontAsset

    Returns the Default Font Asset to be used by newly created text objects.

    defaultFontAssetPath

    The relative path to a Resources folder in the project.

    defaultFontSize

    The Default Point Size of newly created text objects.

    defaultSpriteAsset

    The Default Sprite Asset to be used by default.

    defaultSpriteAssetPath

    The relative path to a Resources folder in the project.

    defaultStyleSheet

    The Default Style Sheet used by the text objects.

    defaultTextAutoSizingMaxRatio

    The multiplier used to computer the default Max point size when Text Auto Sizing is used.

    defaultTextAutoSizingMinRatio

    The multiplier used to computer the default Min point size when Text Auto Sizing is used.

    defaultTextMeshProTextContainerSize

    The Default Size of the Text Container of a TextMeshPro object.

    defaultTextMeshProUITextContainerSize

    The Default Width of the Text Container of a TextMeshProUI object.

    enableEmojiSupport

    Determines if Emoji support is enabled in the Input Field TouchScreenKeyboard.

    enableExtraPadding

    Controls if Extra Padding is enabled on newly created text objects by default.

    enableKerning

    Controls if Kerning is enabled on newly created text objects by default.

    enableParseEscapeCharacters

    Controls if Escape Characters will be parsed in the Text Input Box on newly created text objects.

    enableRaycastTarget

    Controls if Raycast Target is enabled by default on newly created text objects.

    enableTintAllSprites

    Controls if TintAllSprites is enabled on newly created text objects by default.

    enableWordWrapping

    Controls if Word Wrapping will be enabled on newly created text objects by default.

    fallbackFontAssets

    Returns the list of Fallback Fonts defined in the TMP Settings file.

    followingCharacters

    Text file that contains the following characters used for line breaking for Asian languages.

    getFontFeaturesAtRuntime

    Determines if OpenType Font Features should be retrieved at runtime from the source font file.

    instance

    Get a singleton instance of the settings class.

    isTextObjectScaleStatic

    Disables InternalUpdate() calls when true. This can improve performance when the scale of the text object is static.

    leadingCharacters

    Text file that contains the leading characters used for line breaking for Asian languages.

    linebreakingRules
    matchMaterialPreset

    Controls whether or not TMP will create a matching material preset or use the default material of the fallback font asset.

    missingCharacterSpriteUnicode

    The unicode value of the sprite that will be used when the requested sprite is missing from the sprite asset and potential fallbacks.

    missingGlyphCharacter

    The character that will be used as a replacement for missing glyphs in a font asset.

    styleSheetsResourcePath

    The relative path to a Resources folder in the project that contains the TMP Style Sheets.

    useModernHangulLineBreakingRules

    Determines if Modern or Traditional line breaking rules should be used for Korean text.

    version

    Returns the release version of the product.

    warningsDisabled

    Controls the display of warning message in the console.

    Methods

    Name Description
    GetFontAsset()

    Returns the Font Asset defined in the TMP Settings file.

    GetSettings()

    Returns the Sprite Asset defined in the TMP Settings file.

    GetSpriteAsset()

    Returns the Sprite Asset defined in the TMP Settings file.

    GetStyleSheet()

    Returns the Style Sheet defined in the TMP Settings file.

    LoadDefaultSettings()

    Static Function to load the TMP Settings file.

    LoadLinebreakingRules()
    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)