docs.unity3d.com
    Show / Hide Table of Contents

    Class TransparencyUIBlock

    The UI block that represents Transparency properties for materials.

    Inheritance
    Object
    MaterialUIBlock
    TransparencyUIBlock
    Inherited Members
    MaterialUIBlock.expandableBit
    MaterialUIBlock.header
    MaterialUIBlock.materialEditor
    MaterialUIBlock.materials
    MaterialUIBlock.properties
    MaterialUIBlock.parent
    MaterialUIBlock.FindProperty(String, Boolean)
    MaterialUIBlock.FindPropertyLayered(String, Int32, Boolean)
    MaterialUIBlock.OnGUI()
    MaterialUIBlock.isSubHeader
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    public class TransparencyUIBlock : MaterialUIBlock

    Constructors

    TransparencyUIBlock(MaterialUIBlock.ExpandableBit, TransparencyUIBlock.Features)

    Constructs a TransparencyUIBlock based on the parameters.

    Declaration
    public TransparencyUIBlock(MaterialUIBlock.ExpandableBit expandableBit, TransparencyUIBlock.Features features = TransparencyUIBlock.Features.All)
    Parameters
    Type Name Description
    MaterialUIBlock.ExpandableBit expandableBit

    Bit index used to store the foldout state.

    TransparencyUIBlock.Features features

    Features of the Transparency block.

    Properties

    showSection

    If the section should be shown

    Declaration
    protected override bool showSection { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    MaterialUIBlock.showSection

    Methods

    LoadMaterialProperties()

    Loads the material properties for the block.

    Declaration
    public override void LoadMaterialProperties()
    Overrides
    MaterialUIBlock.LoadMaterialProperties()

    OnGUIOpen()

    Renders the properties in the block.

    Declaration
    protected override void OnGUIOpen()
    Overrides
    MaterialUIBlock.OnGUIOpen()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023