Class InlineTextureDrawer
Inheritance
System.Object
UnityEditor.MaterialPropertyDrawer
InlineTextureDrawer
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 InlineTextureDrawer : MixturePropertyDrawer
Constructors
| Improve this Doc View SourceInlineTextureDrawer()
Declaration
public InlineTextureDrawer()
InlineTextureDrawer(String)
Declaration
public InlineTextureDrawer(string v)
Parameters
Type | Name | Description |
---|---|---|
System.String | v |
Methods
| Improve this Doc View SourceDrawerGUI(Rect, MaterialProperty, String, MaterialEditor, MixtureGraph, MixtureNodeView)
Declaration
protected override 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 |
Overrides
| Improve this Doc View SourceGetPropertyHeight(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 |