docs.unity.cn
    Show / Hide Table of Contents

    Class DecalSurfaceInputsUIBlock

    The UI block that represents the surface inputs for decal materials.

    Inheritance
    Object
    MaterialUIBlock
    DecalSurfaceInputsUIBlock
    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 DecalSurfaceInputsUIBlock : MaterialUIBlock

    Constructors

    DecalSurfaceInputsUIBlock(MaterialUIBlock.ExpandableBit)

    Constructs a DecalSurfaceInputsUIBlock based on the parameters.

    Declaration
    public DecalSurfaceInputsUIBlock(MaterialUIBlock.ExpandableBit expandableBit)
    Parameters
    Type Name Description
    MaterialUIBlock.ExpandableBit expandableBit

    Bit index used to store the foldout state

    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 © 2022 Unity Technologies
    Generated by DocFX
    on 18 November 2022
    Terms of use