Table of Contents

Class SpriteMaterialEditor

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

Extensible material editor for sprite-like materials.

[PublicAPI]
[UsedImplicitly]
public class SpriteMaterialEditor : MsdfMaterialEditorBase
Inheritance
ShaderGUI
SpriteMaterialEditor
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

OutlineScope

protected static readonly GUIContent OutlineScope

Field Value

GUIContent

ShadowScope

protected static readonly GUIContent ShadowScope

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.