Method CorrectCinemachineOrthoSize
CorrectCinemachineOrthoSize(float)
Find a pixel-perfect orthographic size as close to targetOrthoSize as possible. Used by Cinemachine to solve compatibility issues with Pixel Perfect Camera.
선언
public float CorrectCinemachineOrthoSize(float targetOrthoSize)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| float | targetOrthoSize | Orthographic size from the live Cinemachine Virtual Camera. |
반환
| 타입 | 설명 |
|---|---|
| float | The corrected orthographic size. |