ドキュメント

Unity Engine

Download Unity

Unity Engine

orthographic

Is the camera orthographic ( true ) or perspective ( false )?
読み終わるまでの所要時間 1 分最終更新 1日前

Definition

public bool orthographic { get; set; }

Remarks

When ortho is true, camera's viewing volume is defined by Camera.orthographicSize.
When orthographic is false, camera's viewing volume is defined by Camera.fieldOfView.
NOTE: Deferred rendering is not supported when using Orthographic projection. If the camera's projection mode is set to Orthographic, the camera will always use Forward rendering.