Class LensDistortion
A volume component that holds settings for the Lens Distortion effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Lens Distortion")]
[SupportedOnRenderPipeline(typeof(UniversalRenderPipelineAsset))]
public sealed class LensDistortion : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider, IPostProcessComponent
필드
| 이름 | 설명 |
|---|---|
| center | Distortion center point. 0.5,0.5 is center of the screen |
| intensity | Total distortion amount. |
| scale | Controls global screen scaling for the distortion effect. Use this to hide the screen borders when using high "Intensity." |
| xMultiplier | Intensity multiplier on X axis. Set it to 0 to disable distortion on this axis. |
| yMultiplier | Intensity multiplier on Y axis. Set it to 0 to disable distortion on this axis. |
메서드
| 이름 | 설명 |
|---|---|
| IsActive() |