Class MaterialEditorExtension
Set of extensions to allow storing, getting and setting the expandable states of a MaterialEditor areas
Inheritance
MaterialEditorExtension
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class MaterialEditorExtension
Methods
Name |
Description |
Draw an integer popup selection field for a float shader property.
|
IntShaderProperty(MaterialEditor, MaterialProperty, GUIContent, Func<int, int>)
|
Draw an integer property field for a float shader property.
|
IntSliderShaderProperty(MaterialEditor, MaterialProperty, int, int, GUIContent)
|
Draw an integer slider for a float shader property.
|
IntSliderShaderProperty(MaterialEditor, MaterialProperty, GUIContent)
|
Draw an integer slider for a range shader property.
|
MinFloatShaderProperty(MaterialEditor, MaterialProperty, GUIContent, float)
|
Draw a property field for a float shader property.
|
MinMaxShaderProperty(MaterialEditor, MaterialProperty, float, float, GUIContent)
|
Draw a special slider to specify a range between a min and a max for a vector shader property.
|
MinMaxShaderProperty(MaterialEditor, MaterialProperty, MaterialProperty, float, float, GUIContent)
|
Draw a special slider to specify a range between a min and a max for two float shader properties.
|
Draw a popup selection field for a float shader property.
|
Vector3ShaderProperty(MaterialEditor, MaterialProperty, GUIContent)
|
Draw an vector3 field for a vector shader property.
|