Class Vignette
Implements
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.GetHashCode()
VolumeComponent.Release()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Runtime.dll
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 |
---|---|
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 |
---|---|
bool |
IsTileCompatible()
Declaration
public bool IsTileCompatible()
Returns
Type | Description |
---|---|
bool |