Class EmissionUIBlock
The UI block that displays emission properties for materials.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class EmissionUIBlock : MaterialUIBlock
Constructors
EmissionUIBlock(ExpandableBit, Features)
Constructs an EmissionUIBlock based on the parameters.
Declaration
public EmissionUIBlock(MaterialUIBlock.ExpandableBit expandableBit, EmissionUIBlock.Features features = (EmissionUIBlock.Features)-1)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialUIBlock.ExpandableBit | expandableBit | Bit index used to store the foldout state. |
| EmissionUIBlock.Features | features | Features of the block. |
Methods
LoadMaterialProperties()
Loads the material properties for the block.
Declaration
public override void LoadMaterialProperties()
Overrides
OnGUIOpen()
GUI callback when the header is open
Declaration
protected override void OnGUIOpen()