Class RefractionUIBlock
The UI block that represents refraction properties.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Syntax
public class RefractionUIBlock : MaterialUIBlock
Constructors
RefractionUIBlock(Int32)
Constructs a RefractionUIBlock based on the parameters.
Declaration
public RefractionUIBlock(int layerCount)
Parameters
Type | Name | Description |
---|---|---|
Int32 | layerCount | Current layer index. For non-layered shader, indicate 1. |
Methods
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()