docs.unity.cn
    Show / Hide Table of Contents

    Class Vignette

    Inheritance
    Object
    VolumeComponent
    Vignette
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    [Serializable]
    public sealed class Vignette : VolumeComponent, IPostProcessComponent

    Fields

    center

    Declaration
    [Tooltip("Sets the vignette center point (screen center is [0.5,0.5]).")]
    public Vector2Parameter center
    Field Value
    Type Description
    Vector2Parameter

    color

    Declaration
    [Tooltip("Vignette color.")]
    public ColorParameter color
    Field Value
    Type Description
    ColorParameter

    intensity

    Declaration
    [Tooltip("Amount of vignetting on screen.")]
    public ClampedFloatParameter intensity
    Field Value
    Type Description
    ClampedFloatParameter

    rounded

    Declaration
    [Tooltip("Should the vignette be perfectly round or be dependent on the current aspect ratio?")]
    public BoolParameter rounded
    Field Value
    Type Description
    BoolParameter

    smoothness

    Declaration
    [Tooltip("Smoothness of the vignette borders.")]
    public ClampedFloatParameter smoothness
    Field Value
    Type Description
    ClampedFloatParameter

    Methods

    IsActive()

    Declaration
    public bool IsActive()
    Returns
    Type Description
    Boolean
    Implements
    IPostProcessComponent.IsActive()

    IsTileCompatible()

    Declaration
    public bool IsTileCompatible()
    Returns
    Type Description
    Boolean
    Implements
    IPostProcessComponent.IsTileCompatible()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 02 March 2021