Table of Contents

Class DecalMaterialEditor

Namespace
Kroltan.Keen.Editor
Assembly
me.kroltan.keen-vectors.Editor.dll

Extensible material editor for URP decals.

[PublicAPI]
[UsedImplicitly]
public class DecalMaterialEditor : MsdfMaterialEditorBase
Inheritance
ShaderGUI
DecalMaterialEditor
Inherited Members
ShaderGUI.OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)
ShaderGUI.OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
ShaderGUI.OnMaterialPreviewSettingsGUI(MaterialEditor)
ShaderGUI.OnClosed(Material)
ShaderGUI.AssignNewShaderToMaterial(Material, Shader, Shader)
ShaderGUI.ValidateMaterial(Material)

Fields

ContourNormalsScope

protected static readonly GUIContent ContourNormalsScope

Field Value

GUIContent

Methods

SetupScopes(IDictionary<string, MaterialProperty>)

Called during the GUI lifecycle, you can call AddToScope(GUIContent, ScopeDrawer) here to set up your GUI sections.

protected override void SetupScopes(IDictionary<string, MaterialProperty> unhandledProperties)

Parameters

unhandledProperties IDictionary<string, MaterialProperty>

Material properties that have not been handled by any drawer yet, indexed by name. Make sure to remove the ones you plan on drawing.