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

    目次を表示する/隠す

    Class TMP_BaseShaderGUI

    Base class for TextMesh Pro shader GUIs.

    Inheritance
    object
    ShaderGUI
    TMP_BaseShaderGUI
    TMP_BitmapShaderGUI
    TMP_SDFShaderGUI
    Inherited Members
    ShaderGUI.OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)
    ShaderGUI.OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
    ShaderGUI.OnMaterialPreviewSettingsGUI(MaterialEditor)
    ShaderGUI.OnClosed(Material)
    ShaderGUI.AssignNewShaderToMaterial(Material, Shader, Shader)
    ShaderGUI.FindProperty(string, MaterialProperty[])
    ShaderGUI.FindProperty(string, MaterialProperty[], bool)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: TMPro.EditorUtilities
    Assembly: solution.dll
    Syntax
    public abstract class TMP_BaseShaderGUI : ShaderGUI

    Fields

    Name Description
    m_Editor
    m_Material
    m_Properties
    s_CullingTypeLabels
    s_DebugExtended
    s_LbrtVectorLabels
    s_XywhVectorLabels

    Methods

    Name Description
    BeginPanel(string, bool)
    BeginPanel(string, ShaderFeature, bool, bool)
    DoColor(string, string)
    DoCubeMap(string, string)
    DoFloat(string, string)
    DoGUI()

    Override this method to create the specific shader GUI.

    DoPopup(string, string, GUIContent[])
    DoSlider(string, string)
    DoTexture2D(string, string, bool, string[])
    DoToggle(string, string)
    DoUVSpeed(Rect, string[])
    DoVector(string, string, GUIContent[])
    DoVector3(string, string)
    EndPanel()
    OnGUI(MaterialEditor, MaterialProperty[])

    To define a custom shader GUI use the methods of materialEditor to render controls for the properties array.

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