docs.unity.cn
    Show / Hide Table of Contents

    Class PropertySheet

    The post-processing stack is entirely built around the use of and as such requires the use of to properly deal with the deferred nature of . This wrapper abstracts the creation and destruction of and to make the process easier.

    Inheritance
    Object
    PropertySheet
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    public sealed class PropertySheet : object

    Properties

    properties

    The actual to fill.

    Declaration
    public MaterialPropertyBlock properties { get; }
    Property Value
    Type Description
    MaterialPropertyBlock

    Methods

    ClearKeywords()

    Clears all keywords set on the source material.

    Declaration
    public void ClearKeywords()

    DisableKeyword(String)

    Disables a given keyword on the source material.

    Declaration
    public void DisableKeyword(string keyword)
    Parameters
    Type Name Description
    String keyword

    The keyword to disable

    EnableKeyword(String)

    Enableds a given keyword on the source material.

    Declaration
    public void EnableKeyword(string keyword)
    Parameters
    Type Name Description
    String keyword

    The keyword to enable

    See Also

    PropertySheetFactory
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, April 14, 2022
    Terms of use