Class SpriteMaterialEditor
Extensible material editor for sprite-like materials.
- Inheritance
-
ShaderGUISprite
Material Editor
- Inherited Members
-
ShaderGUI.
On Material PreviewGUI(Material Editor, Rect, GUIStyle) ShaderGUI.On Material Interactive PreviewGUI(Material Editor, Rect, GUIStyle) ShaderGUI.On Material Preview SettingsGUI(Material Editor) ShaderGUI.On Closed(Material) ShaderGUI.Assign New Shader ToMaterial(Material, Shader, Shader) ShaderGUI.Validate Material(Material)
Fields
OutlineScope
Field Value
- GUIContent
ShadowScope
Field Value
- GUIContent
Methods
SetupScopes(IDictionary<string, MaterialProperty>)
Called during the GUI lifecycle, you can call Add
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.