bool ShowExtension { get; set; }

robot_2Generated
code_blocksInput

Description

The ShowExtension property is a boolean value that determines whether the extension options for a texture input should be displayed in the material editor. This property is part of the Editor.ShaderGraph.TextureInput structure.

Usage

To use the ShowExtension property, you can access it directly from an instance of TextureInput. This property is typically used in conjunction with UI elements that conditionally display additional options based on its value.

Example

// Example of accessing the ShowExtension property
TextureInput textureInput = new TextureInput();

// Check if the extension options should be shown
bool shouldShowExtension = textureInput.ShowExtension;

// Set the ShowExtension property to true to display extension options
textureInput.ShowExtension = true;