{!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_SubMeshUI | TextMeshPro | 3.0.1
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class TMP_SubMeshUI

    Inheritance
    object
    UIBehaviour
    Graphic
    MaskableGraphic
    TMP_SubMeshUI
    Implements
    ICanvasElement
    IClippable
    IMaskable
    IMaterialModifier
    Inherited Members
    MaskableGraphic.m_ShouldRecalculateStencil
    MaskableGraphic.m_MaskMaterial
    MaskableGraphic.m_StencilValue
    MaskableGraphic.SetClipRect(Rect, bool)
    MaskableGraphic.SetClipSoftness(Vector2)
    MaskableGraphic.OnValidate()
    MaskableGraphic.OnCanvasHierarchyChanged()
    MaskableGraphic.RecalculateMasking()
    MaskableGraphic.onCullStateChanged
    MaskableGraphic.maskable
    MaskableGraphic.isMaskingGraphic
    Graphic.s_DefaultUI
    Graphic.s_WhiteTexture
    Graphic.m_Material
    Graphic.m_SkipLayoutUpdate
    Graphic.m_SkipMaterialUpdate
    Graphic.m_OnDirtyLayoutCallback
    Graphic.m_OnDirtyVertsCallback
    Graphic.m_OnDirtyMaterialCallback
    Graphic.s_Mesh
    Graphic.m_CachedMesh
    Graphic.m_CachedUvs
    Graphic.OnRectTransformDimensionsChange()
    Graphic.OnBeforeTransformParentChanged()
    Graphic.OnCullingChanged()
    Graphic.LayoutComplete()
    Graphic.GraphicUpdateComplete()
    Graphic.OnPopulateMesh(Mesh)
    Graphic.OnPopulateMesh(VertexHelper)
    Graphic.OnRebuildRequested()
    Graphic.Reset()
    Graphic.OnDidApplyAnimationProperties()
    Graphic.SetNativeSize()
    Graphic.Raycast(Vector2, Camera)
    Graphic.PixelAdjustPoint(Vector2)
    Graphic.GetPixelAdjustedRect()
    Graphic.CrossFadeColor(Color, float, bool, bool)
    Graphic.CrossFadeColor(Color, float, bool, bool, bool)
    Graphic.CrossFadeAlpha(float, float, bool)
    Graphic.RegisterDirtyLayoutCallback(UnityAction)
    Graphic.UnregisterDirtyLayoutCallback(UnityAction)
    Graphic.RegisterDirtyVerticesCallback(UnityAction)
    Graphic.UnregisterDirtyVerticesCallback(UnityAction)
    Graphic.RegisterDirtyMaterialCallback(UnityAction)
    Graphic.UnregisterDirtyMaterialCallback(UnityAction)
    Graphic.defaultGraphicMaterial
    Graphic.color
    Graphic.raycastTarget
    Graphic.raycastPadding
    Graphic.useLegacyMeshGeneration
    Graphic.depth
    Graphic.rectTransform
    Graphic.canvas
    Graphic.canvasRenderer
    Graphic.defaultMaterial
    Graphic.workerMesh
    UIBehaviour.Awake()
    UIBehaviour.Start()
    UIBehaviour.IsActive()
    UIBehaviour.OnCanvasGroupChanged()
    UIBehaviour.IsDestroyed()
    Namespace: TMPro
    Assembly: solution.dll
    Syntax
    [ExecuteAlways]
    [RequireComponent(typeof(CanvasRenderer))]
    public class TMP_SubMeshUI : MaskableGraphic, ICanvasElement, IClippable, IMaskable, IMaterialModifier

    Properties

    Name Description
    fallbackMaterial
    fallbackSourceMaterial

    The source material used by the fallback font

    fontAsset

    The TMP Font Asset assigned to this sub text object.

    isDefaultMaterial

    Is the text object using the default font asset material.

    mainTexture
    material

    The material to be assigned to this object. Returns an instance of the material.

    materialForRendering

    Get the material that will be used for rendering.

    mesh

    The Mesh of this text sub object.

    padding

    Padding value resulting for the property settings on the material.

    sharedMaterial

    The material to be assigned to this text object.

    spriteAsset

    The TMP Sprite Asset assigned to this sub text object.

    textComponent

    Reference to the parent Text Component.

    Methods

    Name Description
    AddSubTextObject(TextMeshProUGUI, MaterialReference)

    Function to add a new sub text object.

    Cull(Rect, bool)

    Override Cull function as this is handled by the parent text object.

    GetModifiedMaterial(Material)

    Function returning the modified material for masking if necessary.

    GetPaddingForMaterial()

    Function called when the padding value for the material needs to be re-calculated.

    GetPaddingForMaterial(Material)

    Function called when the padding value for the material needs to be re-calculated.

    OnDestroy()
    OnDisable()
    OnEnable()
    OnTransformParentChanged()
    Rebuild(CanvasUpdate)
    RecalculateClipping()

    Method called when the state of a parent changes.

    RefreshMaterial()

    Function to update the material from the parent text object.

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