Description
The PrimaryGroup
property represents the primary UI group within the TextureInput
structure in the Editor.ShaderGraph
namespace. This property is used to categorize and organize texture input settings within the shader graph editor, allowing for a more structured and user-friendly interface.
Usage
To use the PrimaryGroup
property, you can access it directly from an instance of the TextureInput
struct. This property is typically used in the context of shader graph editing, where you need to define or modify the primary group of texture inputs.
Example
// Example of accessing the PrimaryGroup property
Editor.ShaderGraph.TextureInput textureInput = new Editor.ShaderGraph.TextureInput();
Editor.ShaderGraph.UIGroup primaryGroup = textureInput.PrimaryGroup;
// Use primaryGroup to organize texture input settings
// This could involve setting properties or adding controls to the group