Property | Type | Description | |
---|---|---|---|
collectionOrthoSize | float | ||
collectionTargetHeight | int | ||
targetResolutionHeight | float |
Method | Description | |
---|---|---|
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 | |
return | float |