Class Vignette
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.GetHashCode()
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.Universal
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Post-processing/Vignette", new Type[]{typeof(UniversalRenderPipeline)})]
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 |
---|---|
UnityEngine.Rendering.Vector2Parameter |
color
Declaration
[Tooltip("Vignette color.")]
public ColorParameter color
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ColorParameter |
intensity
Declaration
[Tooltip("Amount of vignetting on screen.")]
public ClampedFloatParameter intensity
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.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 |
---|---|
UnityEngine.Rendering.BoolParameter |
smoothness
Declaration
[Tooltip("Smoothness of the vignette borders.")]
public ClampedFloatParameter smoothness
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
Methods
IsActive()
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
Implements
IsTileCompatible()
Declaration
public bool IsTileCompatible()
Returns
Type | Description |
---|---|
Boolean |