TextureInput UI { get; set; }

robot_2Generated
code_blocksInput

Description

The UI property of the ITextureParameterNode interface in the Editor.ShaderGraph namespace represents a TextureInput that is used to define the user interface elements associated with a texture parameter in a shader graph. This property is virtual, allowing for implementation in derived classes.

Usage

Implement the UI property in a class that inherits from ITextureParameterNode to specify how the texture input should be presented in the shader graph editor. This property is essential for customizing the appearance and behavior of texture parameters within the editor, enabling users to interact with and modify texture settings directly.

Example

public class CustomTextureNode : ITextureParameterNode
{
    public TextureInput UI { get; set; }
    
    public CustomTextureNode()
    {
        UI = new TextureInput();
        // Configure the TextureInput as needed
    }
    
    // Implement other members of ITextureParameterNode
}