Show / Hide Table of Contents

Class MixturePropertyDrawer

Inheritance
System.Object
UnityEditor.MaterialPropertyDrawer
MixturePropertyDrawer
InlineTextureDrawer
MixtureBlendDrawer
MixtureChannelDrawer
MixtureSwizzleDrawer
MixtureVector2Drawer
MixtureVector3Drawer
RangeDrawer
ShowInInspectorDecorator
TooltipDrawerDecorator
Inherited Members
UnityEditor.MaterialPropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.MaterialProperty, UnityEngine.GUIContent, UnityEditor.MaterialEditor)
UnityEditor.MaterialPropertyDrawer.Apply(UnityEditor.MaterialProperty)
Namespace: Mixture
Assembly: Unity.ShaderGraph.GraphicsTests.dll
Syntax
public class MixturePropertyDrawer : MaterialPropertyDrawer

Methods

| Improve this Doc View Source

DrawerGUI(Rect, MaterialProperty, String, MaterialEditor, MixtureGraph, MixtureNodeView)

Declaration
protected virtual void DrawerGUI(Rect position, MaterialProperty prop, string label, MaterialEditor editor, MixtureGraph graph, MixtureNodeView nodeView)
Parameters
Type Name Description
UnityEngine.Rect position
UnityEditor.MaterialProperty prop
System.String label
UnityEditor.MaterialEditor editor
MixtureGraph graph
MixtureNodeView nodeView
| Improve this Doc View Source

GetGraph(MaterialEditor)

Declaration
protected MixtureGraph GetGraph(MaterialEditor editor)
Parameters
Type Name Description
UnityEditor.MaterialEditor editor
Returns
Type Description
MixtureGraph
| Improve this Doc View Source

GetNodeView(MaterialEditor)

Declaration
protected MixtureNodeView GetNodeView(MaterialEditor editor)
Parameters
Type Name Description
UnityEditor.MaterialEditor editor
Returns
Type Description
MixtureNodeView
| Improve this Doc View Source

GetPropertyHeight(MaterialProperty, String, MaterialEditor)

Declaration
public override float GetPropertyHeight(MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Type Name Description
UnityEditor.MaterialProperty prop
System.String label
UnityEditor.MaterialEditor editor
Returns
Type Description
System.Single
Overrides
UnityEditor.MaterialPropertyDrawer.GetPropertyHeight(UnityEditor.MaterialProperty, System.String, UnityEditor.MaterialEditor)
| Improve this Doc View Source

OnGUI(Rect, MaterialProperty, String, MaterialEditor)

Declaration
public override sealed void OnGUI(Rect position, MaterialProperty prop, string label, MaterialEditor editor)
Parameters
Type Name Description
UnityEngine.Rect position
UnityEditor.MaterialProperty prop
System.String label
UnityEditor.MaterialEditor editor
Overrides
UnityEditor.MaterialPropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.MaterialProperty, System.String, UnityEditor.MaterialEditor)
| Improve this Doc View Source

RegisterEditor(MaterialEditor, MixtureNodeView, MixtureGraph)

Declaration
public static void RegisterEditor(MaterialEditor editor, MixtureNodeView nodeView, MixtureGraph graph)
Parameters
Type Name Description
UnityEditor.MaterialEditor editor
MixtureNodeView nodeView
MixtureGraph graph
| Improve this Doc View Source

UnregisterGraph(MixtureGraph)

Declaration
public static void UnregisterGraph(MixtureGraph graph)
Parameters
Type Name Description
MixtureGraph graph
  • Improve this Doc
  • View Source
Back to top Generated by DocFX