Class AdvancedOptionsUIBlock
Represents an advanced options material UI block.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Syntax
public class AdvancedOptionsUIBlock : MaterialUIBlock
Constructors
AdvancedOptionsUIBlock(MaterialUIBlock.ExpandableBit, AdvancedOptionsUIBlock.Features)
Constructs the AdvancedOptionsUIBlock based on the parameters.
Declaration
public AdvancedOptionsUIBlock(MaterialUIBlock.ExpandableBit expandableBit, AdvancedOptionsUIBlock.Features features = AdvancedOptionsUIBlock.Features.Instancing | AdvancedOptionsUIBlock.Features.SpecularOcclusion | AdvancedOptionsUIBlock.Features.AddPrecomputedVelocity | AdvancedOptionsUIBlock.Features.DoubleSidedGI | AdvancedOptionsUIBlock.Features.EmissionGI | AdvancedOptionsUIBlock.Features.MotionVector | AdvancedOptionsUIBlock.Features.StandardLit | AdvancedOptionsUIBlock.Features.All)
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()