Class ShowInInspectorDecorator
Inheritance
System.Object
UnityEditor.MaterialPropertyDrawer
ShowInInspectorDecorator
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 ShowInInspectorDecorator : MixturePropertyDrawer
Methods
| 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 |