docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RefractionUIBlock

    The UI block that represents refraction properties.

    Inheritance
    object
    MaterialUIBlock
    RefractionUIBlock
    Inherited Members
    MaterialUIBlock.expandableBit
    MaterialUIBlock.header
    MaterialUIBlock.materialEditor
    MaterialUIBlock.materials
    MaterialUIBlock.properties
    MaterialUIBlock.parent
    MaterialUIBlock.FindProperty(string, bool)
    MaterialUIBlock.FindPropertyLayered(string, int, bool)
    MaterialUIBlock.isSubHeader
    MaterialUIBlock.showSection
    MaterialUIBlock.OnGUIOpen()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    MaterialUIBlock.LoadMaterialProperties()

    OnGUI()

    Renders the properties in the block.

    Declaration
    public override void OnGUI()
    Overrides
    MaterialUIBlock.OnGUI()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)