Class Vignette
A volume component that holds settings for the Vignette effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Vignette")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Vignette.html")]
public sealed class Vignette : VolumeComponent, IPostProcessComponent
필드
이름 | 설명 |
---|---|
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. |
메서드
이름 | 설명 |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |