docs.unity.cn
    Show / Hide Table of Contents

    Class AdvancedOptionsUIBlock

    Represents an advanced options material UI block.

    Inheritance
    Object
    MaterialUIBlock
    AdvancedOptionsUIBlock
    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
    MaterialUIBlock.showSection
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    public class AdvancedOptionsUIBlock : MaterialUIBlock

    Constructors

    AdvancedOptionsUIBlock(MaterialUIBlock.ExpandableBit, AdvancedOptionsUIBlock.Features)

    Constructs the AdvancedOptionsUIBlock based on the parameters.

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

    Bit index used to store the foldout state.

    AdvancedOptionsUIBlock.Features features

    Features of the block.

    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 Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023