GetFrustumAspectRatio(Camera)
Calculate the frustrum aspect ratio of a camera.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static float GetFrustumAspectRatio(Camera camera)
Parameters
Camera to use.
Returns
Type | Description |
|---|---|
| float | The frustrum aspect ratio of the provided camera. |