프로퍼티 | 타입 | 설명 | |
---|---|---|---|
collectionOrthoSize | float | ||
collectionTargetHeight | int | ||
targetResolutionHeight | float |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
CalculateScaleForPerspectiveCamera ( float fov, float zdist ) : float |
Calculate scale to get 1:1 given fov in degress, and zdistance to camera. This assumes the screen resoulution hasn't changed.
|
|
Setup ( ) : void |
public static CalculateScaleForPerspectiveCamera ( float fov, float zdist ) : float | ||
fov | float | |
zdist | float | |
리턴 | float |