Class AdvancedOptionsUIBlock
Represents an advanced options material UI block.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class AdvancedOptionsUIBlock : MaterialUIBlock
Constructors
AdvancedOptionsUIBlock(ExpandableBit, Features)
Constructs the AdvancedOptionsUIBlock based on the parameters.
Declaration
public AdvancedOptionsUIBlock(MaterialUIBlock.ExpandableBit expandableBit, AdvancedOptionsUIBlock.Features features = (AdvancedOptionsUIBlock.Features)-1)
Parameters
Type | Name | Description |
---|---|---|
MaterialUIBlock.ExpandableBit | expandableBit | Bit index used to store the foldout state. |
AdvancedOptionsUIBlock.Features | features | Features of the block. |
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()