Свойство | Тип | Описание | |
---|---|---|---|
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 |