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.Distortion | TransparencyUIBlock.Features.Refraction | 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. |
Methods
LoadMaterialProperties()
Loads the material properties for the block.
Declaration
public override void LoadMaterialProperties()
Overrides
OnGUI()
Renders the properties in the block.
Declaration
public override void OnGUI()