Class TessellationOptionsUIBlock
The UI block that represents Tessellation Option properties for materials.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class TessellationOptionsUIBlock : MaterialUIBlock
Constructors
TessellationOptionsUIBlock(ExpandableBit)
Constructs a TessellationOptionsUIBlock based on the parameters.
Declaration
public TessellationOptionsUIBlock(MaterialUIBlock.ExpandableBit expandableBit)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialUIBlock.ExpandableBit | expandableBit | Bit used to store the foldout state |
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()