docs.unity3d.com
    显示 / 隐藏目录

    Struct AOVRequest

    Use this request to define how to render an AOV.

    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public struct AOVRequest

    Constructors

    AOVRequest(AOVRequest)

    Create a new instance by copying values from other.

    Declaration
    public AOVRequest(AOVRequest other)
    Parameters
    Type Name Description
    AOVRequest other

    Fields

    default

    Default settings.

    Declaration
    [Obsolete("Since 2019.3, use AOVRequest.NewDefault() instead.")]
    public static readonly AOVRequest default
    Field Value
    Type Description
    AOVRequest

    Methods

    FillDebugData(DebugDisplaySettings)

    Populate the debug display settings with the AOV data.

    Declaration
    public void FillDebugData(DebugDisplaySettings debug)
    Parameters
    Type Name Description
    DebugDisplaySettings debug

    The debug display settings to fill.

    NewDefault()

    Default settings.

    Declaration
    public static AOVRequest NewDefault()
    Returns
    Type Description
    AOVRequest

    SetFullscreenOutput(MaterialSharedProperty)

    State the property to render. In case of several SetFullscreenOutput chained call, only last will be used.

    Declaration
    public ref AOVRequest SetFullscreenOutput(MaterialSharedProperty materialProperty)
    Parameters
    Type Name Description
    MaterialSharedProperty materialProperty

    The property to render.

    Returns
    Type Description
    AOVRequest

    A ref return to chain calls.

    SetFullscreenOutput(DebugFullScreen)

    State the property to render. In case of several SetFullscreenOutput chained call, only last will be used.

    Declaration
    public ref AOVRequest SetFullscreenOutput(DebugFullScreen debugFullScreen)
    Parameters
    Type Name Description
    DebugFullScreen debugFullScreen

    The property to render.

    Returns
    Type Description
    AOVRequest

    A ref return to chain calls.

    SetFullscreenOutput(LightingProperty)

    State the property to render. In case of several SetFullscreenOutput chained call, only last will be used.

    Declaration
    public ref AOVRequest SetFullscreenOutput(LightingProperty lightingProperty)
    Parameters
    Type Name Description
    LightingProperty lightingProperty

    The property to render.

    Returns
    Type Description
    AOVRequest

    A ref return to chain calls.

    SetLightFilter(DebugLightFilterMode)

    Set the light filter to use.

    Declaration
    public ref AOVRequest SetLightFilter(DebugLightFilterMode filter)
    Parameters
    Type Name Description
    DebugLightFilterMode filter

    The light filter to use

    Returns
    Type Description
    AOVRequest

    A ref return to chain calls.

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)