Class TessellationOptionsUIBlock
The UI block that represents Tessellation Option properties for materials.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Syntax
public class TessellationOptionsUIBlock : MaterialUIBlock
Constructors
TessellationOptionsUIBlock(MaterialUIBlock.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 |
---|---|
Boolean |
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()