docs.unity3d.com
    Show / Hide Table of Contents

    Class LitAdvancedOptionsUIBlock

    Represents an advanced options material UI block.

    Inheritance
    Object
    MaterialUIBlock
    AdvancedOptionsUIBlock
    LitAdvancedOptionsUIBlock
    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
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    public class LitAdvancedOptionsUIBlock : AdvancedOptionsUIBlock

    Constructors

    LitAdvancedOptionsUIBlock(MaterialUIBlock.ExpandableBit, AdvancedOptionsUIBlock.Features)

    Constructs the AdvancedOptionsUIBlock based on the parameters.

    Declaration
    public LitAdvancedOptionsUIBlock(MaterialUIBlock.ExpandableBit expandableBit, AdvancedOptionsUIBlock.Features features = AdvancedOptionsUIBlock.Features.Instancing | AdvancedOptionsUIBlock.Features.SpecularOcclusion | AdvancedOptionsUIBlock.Features.AddPrecomputedVelocity | AdvancedOptionsUIBlock.Features.DoubleSidedGI | AdvancedOptionsUIBlock.Features.EmissionGI | AdvancedOptionsUIBlock.Features.MotionVector | AdvancedOptionsUIBlock.Features.StandardLit | 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
    AdvancedOptionsUIBlock.LoadMaterialProperties()

    OnGUIOpen()

    Renders the advanced options in the advanced option foldout

    Declaration
    protected override void OnGUIOpen()
    Overrides
    AdvancedOptionsUIBlock.OnGUIOpen()
    Back to top
    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