Class LensDistortion
A volume component that holds settings for the Lens Distortion effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Lens Distortion")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Lens-Distortion.html")]
public sealed class LensDistortion : VolumeComponent, IPostProcessComponent
필드
이름 | 설명 |
---|---|
center | Sets the center point for the distortion. |
intensity | Controls the overall strength of the distortion effect. |
scale | Controls global screen scaling for the distortion effect. Use this to hide the screen borders when using a high intensity. |
xMultiplier | Controls the distortion intensity on the x-axis. Acts as a multiplier. |
yMultiplier | Controls the distortion intensity on the x-axis. Acts as a multiplier. |
메서드
이름 | 설명 |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |