docs.unity3d.com
    Show / Hide Table of Contents

    Class TMPro_SDFMaterialEditor

    Inheritance
    System.Object
    Object
    ScriptableObject
    Editor
    MaterialEditor
    TMPro_SDFMaterialEditor
    Inherited Members
    MaterialEditor.kMiniTextureFieldLabelIndentLevel
    MaterialEditor.SetShader(Shader)
    MaterialEditor.SetShader(Shader, Boolean)
    MaterialEditor.Awake()
    MaterialEditor.OnInspectorGUI()
    MaterialEditor.PropertiesChanged()
    MaterialEditor.OnShaderChanged()
    UnityEditor.MaterialEditor.OnHeaderGUI()
    UnityEditor.MaterialEditor.GetFloat(System.String, System.Boolean)
    UnityEditor.MaterialEditor.SetFloat(System.String, System.Single)
    UnityEditor.MaterialEditor.GetColor(System.String, System.Boolean)
    UnityEditor.MaterialEditor.SetColor(System.String, UnityEngine.Color)
    UnityEditor.MaterialEditor.GetVector(System.String, System.Boolean)
    UnityEditor.MaterialEditor.SetVector(System.String, UnityEngine.Vector4)
    UnityEditor.MaterialEditor.GetTexture(System.String, System.Boolean)
    UnityEditor.MaterialEditor.SetTexture(System.String, UnityEngine.Texture)
    UnityEditor.MaterialEditor.GetTextureScale(System.String, System.Boolean, System.Boolean)
    UnityEditor.MaterialEditor.GetTextureOffset(System.String, System.Boolean, System.Boolean)
    MaterialEditor.SetTextureScale(String, Vector2, Int32)
    MaterialEditor.SetTextureOffset(String, Vector2, Int32)
    MaterialEditor.BeginProperty(SerializedProperty)
    MaterialEditor.BeginProperty(Rect, SerializedProperty)
    MaterialEditor.BeginProperty(MaterialProperty)
    MaterialEditor.BeginProperty(Rect, MaterialProperty)
    MaterialEditor.EndProperty()
    MaterialEditor.RangeProperty(MaterialProperty, String)
    MaterialEditor.RangeProperty(Rect, MaterialProperty, String)
    MaterialEditor.IntegerProperty(MaterialProperty, String)
    MaterialEditor.IntegerProperty(Rect, MaterialProperty, String)
    MaterialEditor.FloatProperty(MaterialProperty, String)
    MaterialEditor.FloatProperty(Rect, MaterialProperty, String)
    MaterialEditor.ColorProperty(MaterialProperty, String)
    MaterialEditor.ColorProperty(Rect, MaterialProperty, String)
    MaterialEditor.VectorProperty(MaterialProperty, String)
    MaterialEditor.VectorProperty(MaterialProperty, GUIContent)
    MaterialEditor.VectorProperty(Rect, MaterialProperty, String)
    MaterialEditor.VectorProperty(Rect, MaterialProperty, GUIContent)
    UnityEditor.MaterialEditor.TextureScaleOffsetProperty(UnityEditor.MaterialProperty)
    MaterialEditor.TextureScaleOffsetProperty(Rect, MaterialProperty)
    MaterialEditor.TextureScaleOffsetProperty(Rect, MaterialProperty, Boolean)
    MaterialEditor.TextureProperty(MaterialProperty, String)
    MaterialEditor.TextureProperty(MaterialProperty, String, Boolean)
    MaterialEditor.HelpBoxWithButton(GUIContent, GUIContent)
    MaterialEditor.TextureCompatibilityWarning(MaterialProperty)
    MaterialEditor.TexturePropertyMiniThumbnail(Rect, MaterialProperty, String, String)
    MaterialEditor.GetTexturePropertyCustomArea(Rect)
    MaterialEditor.TextureProperty(Rect, MaterialProperty, String)
    MaterialEditor.TextureProperty(Rect, MaterialProperty, GUIContent)
    MaterialEditor.TextureProperty(Rect, MaterialProperty, String, Boolean)
    MaterialEditor.TextureProperty(Rect, MaterialProperty, String, String, Boolean)
    MaterialEditor.TextureProperty(Rect, MaterialProperty, GUIContent, Boolean)
    MaterialEditor.TextureScaleOffsetProperty(Rect, Vector4)
    MaterialEditor.TextureScaleOffsetProperty(Rect, Vector4, Boolean)
    MaterialEditor.GetPropertyHeight(MaterialProperty)
    MaterialEditor.GetPropertyHeight(MaterialProperty, String)
    MaterialEditor.GetDefaultPropertyHeight(MaterialProperty)
    MaterialEditor.BeginAnimatedCheck(Rect, MaterialProperty)
    MaterialEditor.BeginAnimatedCheck(MaterialProperty)
    MaterialEditor.EndAnimatedCheck()
    MaterialEditor.ShaderProperty(MaterialProperty, String)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEditor.MaterialProperty, UnityEngine.GUIContent)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEditor.MaterialProperty, System.String, System.Int32)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEditor.MaterialProperty, UnityEngine.GUIContent, System.Int32)
    MaterialEditor.ShaderProperty(Rect, MaterialProperty, String)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEngine.Rect, UnityEditor.MaterialProperty, UnityEngine.GUIContent)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEngine.Rect, UnityEditor.MaterialProperty, System.String, System.Int32)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEngine.Rect, UnityEditor.MaterialProperty, UnityEngine.GUIContent, System.Int32)
    MaterialEditor.LightmapEmissionProperty()
    UnityEditor.MaterialEditor.LightmapEmissionProperty(System.Int32)
    UnityEditor.MaterialEditor.LightmapEmissionProperty(UnityEngine.Rect, System.Int32)
    MaterialEditor.EmissionEnabledProperty()
    MaterialEditor.FixupEmissiveFlag(Material)
    MaterialEditor.FixupEmissiveFlag(Color, MaterialGlobalIlluminationFlags)
    MaterialEditor.LightmapEmissionFlagsProperty(Int32, Boolean)
    MaterialEditor.LightmapEmissionFlagsProperty(Int32, Boolean, Boolean)
    MaterialEditor.DefaultShaderProperty(MaterialProperty, String)
    MaterialEditor.DefaultShaderProperty(Rect, MaterialProperty, String)
    UnityEditor.MaterialEditor.RangeProperty(System.String, System.String, System.Single, System.Single)
    UnityEditor.MaterialEditor.FloatProperty(System.String, System.String)
    UnityEditor.MaterialEditor.ColorProperty(System.String, System.String)
    UnityEditor.MaterialEditor.VectorProperty(System.String, System.String)
    UnityEditor.MaterialEditor.TextureProperty(System.String, System.String, UnityEditor.ShaderUtil.ShaderPropertyTexDim)
    UnityEditor.MaterialEditor.TextureProperty(System.String, System.String, UnityEditor.ShaderUtil.ShaderPropertyTexDim, System.Boolean)
    UnityEditor.MaterialEditor.ShaderProperty(UnityEngine.Shader, System.Int32)
    MaterialEditor.GetMaterialProperties(Object[])
    MaterialEditor.GetMaterialPropertyNames(Object[])
    MaterialEditor.GetMaterialProperty(Object[], String)
    MaterialEditor.GetMaterialProperty(Object[], Int32)
    UnityEditor.MaterialEditor.PrepareMaterialPropertiesForAnimationMode(UnityEditor.MaterialProperty[], System.Boolean)
    MaterialEditor.SetDefaultGUIWidths()
    MaterialEditor.PropertiesGUI()
    MaterialEditor.PropertiesDefaultGUI(MaterialProperty[])
    MaterialEditor.ApplyMaterialPropertyDrawers(Material)
    MaterialEditor.ApplyMaterialPropertyDrawers(Object[])
    MaterialEditor.RegisterPropertyChangeUndo(String)
    UnityEditor.MaterialEditor.OnPreviewSettings()
    MaterialEditor.DefaultPreviewSettingsGUI()
    UnityEditor.MaterialEditor.RenderStaticPreview(System.String, UnityEngine.Object[], System.Int32, System.Int32)
    MaterialEditor.HasPreviewGUI()
    MaterialEditor.RequiresConstantRepaint()
    UnityEditor.MaterialEditor.OnInteractivePreviewGUI(UnityEngine.Rect, UnityEngine.GUIStyle)
    MaterialEditor.OnPreviewGUI(Rect, GUIStyle)
    MaterialEditor.CreatePreview(VisualElement)
    MaterialEditor.DefaultPreviewGUI(Rect, GUIStyle)
    MaterialEditor.OnEnable()
    UnityEditor.MaterialEditor.UndoRedoPerformed()
    UnityEditor.MaterialEditor.UndoRedoPerformed(UnityEditor.UndoRedoInfo)
    MaterialEditor.OnDisable()
    MaterialEditor.RenderQueueField()
    MaterialEditor.RenderQueueField(Rect)
    MaterialEditor.EnableInstancingField()
    MaterialEditor.EnableInstancingField(Rect)
    MaterialEditor.IsInstancingEnabled()
    MaterialEditor.DoubleSidedGIField()
    MaterialEditor.TexturePropertySingleLine(GUIContent, MaterialProperty)
    MaterialEditor.TexturePropertySingleLine(GUIContent, MaterialProperty, MaterialProperty)
    MaterialEditor.TexturePropertySingleLine(GUIContent, MaterialProperty, MaterialProperty, MaterialProperty)
    MaterialEditor.TexturePropertyWithHDRColor(GUIContent, MaterialProperty, MaterialProperty, ColorPickerHDRConfig, Boolean)
    MaterialEditor.TexturePropertyWithHDRColor(GUIContent, MaterialProperty, MaterialProperty, Boolean)
    MaterialEditor.TexturePropertyTwoLines(GUIContent, MaterialProperty, MaterialProperty, GUIContent, MaterialProperty)
    MaterialEditor.GetRightAlignedFieldRect(Rect)
    MaterialEditor.GetLeftAlignedFieldRect(Rect)
    MaterialEditor.GetFlexibleRectBetweenLabelAndField(Rect)
    MaterialEditor.GetFlexibleRectBetweenFieldAndRightEdge(Rect)
    MaterialEditor.GetRectAfterLabelWidth(Rect)
    MaterialEditor.isVisible
    MaterialEditor.customShaderGUI
    Editor.SaveChanges()
    Editor.DiscardChanges()
    Editor.CreateEditorWithContext(Object[], Object, Type)
    UnityEditor.Editor.CreateEditorWithContext(UnityEngine.Object[], UnityEngine.Object)
    UnityEditor.Editor.CreateCachedEditorWithContext(UnityEngine.Object, UnityEngine.Object, System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateCachedEditorWithContext(UnityEngine.Object[], UnityEngine.Object, System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateCachedEditor(UnityEngine.Object, System.Type, UnityEditor.Editor)
    UnityEditor.Editor.CreateCachedEditor(UnityEngine.Object[], System.Type, UnityEditor.Editor)
    Editor.CreateEditor(Object)
    Editor.CreateEditor(Object, Type)
    Editor.CreateEditor(Object[])
    Editor.CreateEditor(Object[], Type)
    UnityEditor.Editor.DrawPropertiesExcluding(UnityEditor.SerializedObject, System.String[])
    Editor.DrawDefaultInspector()
    Editor.Repaint()
    Editor.CreateInspectorGUI()
    Editor.DrawHeader()
    Editor.ShouldHideOpenButton()
    UnityEditor.Editor.DrawFoldoutInspector(UnityEngine.Object, UnityEditor.Editor)
    Editor.GetPreviewTitle()
    Editor.GetInfoString()
    Editor.DrawPreview(Rect)
    UnityEditor.Editor.ReloadPreviewInstances()
    Editor.UseDefaultMargins()
    UnityEditor.Editor.MoveNextTarget()
    UnityEditor.Editor.ResetTarget()
    Editor.hasUnsavedChanges
    Editor.saveChangesMessage
    Editor.target
    Editor.targets
    Editor.serializedObject
    UnityEditor.Editor.finishedDefaultHeaderGUI
    UnityEngine.ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    UnityEngine.ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(System.Object)
    UnityEngine.Object.InstantiateAsync<T>(T)
    UnityEngine.Object.InstantiateAsync<T>(T, UnityEngine.Transform)
    UnityEngine.Object.InstantiateAsync<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.InstantiateAsync<T>(T, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, UnityEngine.Transform)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, System.ReadOnlySpan<UnityEngine.Vector3>, System.ReadOnlySpan<UnityEngine.Quaternion>)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion, System.Threading.CancellationToken)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, UnityEngine.Transform, System.ReadOnlySpan<UnityEngine.Vector3>, System.ReadOnlySpan<UnityEngine.Quaternion>)
    UnityEngine.Object.InstantiateAsync<T>(T, System.Int32, UnityEngine.Transform, System.ReadOnlySpan<UnityEngine.Vector3>, System.ReadOnlySpan<UnityEngine.Quaternion>, System.Threading.CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Global Namespace
    Syntax
    public class TMPro_SDFMaterialEditor : MaterialEditor, IPreviewable, IToolModeOwner

    Methods

    OnDisable()

    Declaration
    public override void OnDisable()
    Overrides
    MaterialEditor.OnDisable()

    OnEnable()

    Declaration
    public override void OnEnable()
    Overrides
    MaterialEditor.OnEnable()

    OnHeaderGUI()

    Declaration
    protected override void OnHeaderGUI()
    Overrides
    UnityEditor.MaterialEditor.OnHeaderGUI()

    OnInspectorGUI()

    Declaration
    public override void OnInspectorGUI()
    Overrides
    MaterialEditor.OnInspectorGUI()
    Back to top
    Copyright © 2025 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 02 April 2025