Class TransparencyUIBlock
The UI block that represents Transparency properties for materials.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class TransparencyUIBlock : MaterialUIBlock
Constructors
TransparencyUIBlock(ExpandableBit, Features)
Constructs a TransparencyUIBlock based on the parameters.
Declaration
public TransparencyUIBlock(MaterialUIBlock.ExpandableBit expandableBit, TransparencyUIBlock.Features features = (TransparencyUIBlock.Features)-1)
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 |
---|---|
bool |
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()