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 |
Methods
DrawTesselationGUI()
Draws the Tessellation Options GUI.
Declaration
protected void DrawTesselationGUI()
LoadMaterialProperties()
Loads the material properties for the block.
Declaration
public override void LoadMaterialProperties()
Overrides
OnGUI()
Renders the properties in the block.
Declaration
public override void OnGUI()