docs.unity.cn
    Show / Hide Table of Contents

    Class TessellationOptionsUIBlock

    The UI block that represents Tessellation Option properties for materials.

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

    Constructors

    TessellationOptionsUIBlock(MaterialUIBlock.ExpandableBit)

    Constructs a TessellationOptionsUIBlock based on the parameters.

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

    Bit used to store the foldout state

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