Description
The UIGroup
property of the TextureInput
class in the Editor.ShaderGraph
namespace is a string property that is used to categorize or group the texture input within the user interface of the shader graph editor. This property is marked with the JsonIgnore
and Hide
attributes, indicating that it is not intended to be serialized to JSON and is hidden from the standard UI, respectively.
Usage
Since the UIGroup
property is marked with JsonIgnore
and Hide
attributes, it is not typically used directly in user code. It is primarily used internally by the shader graph editor to manage the organization of texture inputs within the UI. If you need to categorize or group texture inputs, consider using other properties or methods provided by the shader graph editor that are intended for public use.
Example
// Example of how the UIGroup property might be used internally
// This is not intended for direct use in user code
Editor.ShaderGraph.TextureInput textureInput = new Editor.ShaderGraph.TextureInput();
// The UIGroup property is hidden and not intended for direct manipulation
// textureInput.UIGroup = "MainTextures"; // This line is not recommended due to the Hide attribute
// Instead, use other public properties or methods to manage texture inputs