Class RefractionUIBlock
The UI block that represents refraction properties.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class RefractionUIBlock : MaterialUIBlock
Constructors
RefractionUIBlock(int)
Constructs a RefractionUIBlock based on the parameters.
Declaration
public RefractionUIBlock(int layerCount)
Parameters
Type | Name | Description |
---|---|---|
int | 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()