Description
The Default
field is a member of the Editor.ShaderGraph.UIType
enumeration. It represents the default user interface type for shader graph properties in the editor. This is typically used when no specific UI customization is required for a shader property.
Usage
Use the UIType.Default
when you want a shader property to use the standard UI representation without any additional customization. This is useful for properties that do not require specific UI elements like sliders or color pickers.
Example
// Example of using UIType.Default in a shader graph property
ShaderGraphProperty myProperty = new ShaderGraphProperty();
myProperty.UIType = Editor.ShaderGraph.UIType.Default;
// This will ensure that the property uses the default UI in the shader editor.