Class TransparencyUIBlock
The UI block that represents Transparency properties for materials.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Syntax
public class TransparencyUIBlock : MaterialUIBlock
Constructors
TransparencyUIBlock(MaterialUIBlock.ExpandableBit, TransparencyUIBlock.Features)
Constructs a TransparencyUIBlock based on the parameters.
Declaration
public TransparencyUIBlock(MaterialUIBlock.ExpandableBit expandableBit, TransparencyUIBlock.Features features = TransparencyUIBlock.Features.All)
Parameters
Type | Name | Description |
---|---|---|
MaterialUIBlock.ExpandableBit | expandableBit | Bit index used to store the foldout state. |
TransparencyUIBlock.Features | features | Features of the Transparency block. |
Properties
showSection
If the section should be shown
Declaration
protected override bool showSection { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Methods
LoadMaterialProperties()
Loads the material properties for the block.
Declaration
public override void LoadMaterialProperties()
Overrides
OnGUIOpen()
Renders the properties in the block.
Declaration
protected override void OnGUIOpen()