Class PaniniProjection
A volume component that holds settings for the Panini Projection effect.
상속된 멤버
네임스페이스: UnityEngine.Rendering.HighDefinition
어셈블리: solution.dll
구문
[Serializable]
[VolumeComponentMenu("Post-processing/Panini Projection")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Panini-Projection.html")]
public sealed class PaniniProjection : VolumeComponent, IPostProcessComponent
필드
이름 | 설명 |
---|---|
cropToFit | Controls how much cropping HDRP applies to the screen with the panini projection effect. A value of 1 crops the distortion to the edge of the screen. |
distance | Controls the panini projection distance. This controls the strength of the distorion. |
메서드
이름 | 설명 |
---|---|
IsActive() | Tells if the effect needs to be rendered or not. |