Method OnMaterialInteractivePreviewGUI
OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
Override the material interactive preview GUI.
Declaration
public override void OnMaterialInteractivePreviewGUI(MaterialEditor materialEditor, Rect r, GUIStyle background)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialEditor | materialEditor | The current material editor. |
| Rect | r | Preview rect. |
| GUIStyle | background | Style for the background. |
Overrides
UnityEditor.ShaderGUI.OnMaterialInteractivePreviewGUI(UnityEditor.MaterialEditor, UnityEngine.Rect, UnityEngine.GUIStyle)