Class Vignette
A volume component that holds settings for the Vignette effect.
Inherited Members
VolumeComponent.active
VolumeComponent.displayName
VolumeComponent.parameters
VolumeComponent.GetHashCode()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.Release()
VolumeComponent.GetSourceTerm()
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
[VolumeComponentMenu("Post-processing/Vignette")]
[SupportedOnRenderPipeline(typeof(HDRenderPipelineAsset))]
public sealed class Vignette : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider, IPostProcessComponent
Fields
Name | Description |
---|---|
center | Sets the center point for the vignette. |
color | Specifies the color of the vignette. |
intensity | Controls the strength of the vignette effect. |
mask | Specifies a black and white mask Texture to use as a vignette. |
mode | Specifies the mode HDRP uses to display the vignette effect. |
opacity | Controls the opacity of the mask vignette. Lower values result in a more transparent vignette. |
rounded | When enabled, the vignette is perfectly round. When disabled, the vignette matches shape with the current aspect ratio. |
roundness | Controls how round the vignette is, lower values result in a more square vignette. |
smoothness | Controls the smoothness of the vignette borders. |
Methods
Name | Description |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |