Control Editor Scene Camera

Is it possible to access the Scene’s camera? I can’t find anything about it in the reference.

What I’d like to do is to set it to “Back” instead of “Perspective” to get isometric/orthographic(or what could be described as most similar to orthographic) view automatically at certain points of editing. This is to make sure our level editors always get the right perspective as our game is 2D.

Impossible, improbable or doable? :slight_smile:

I’m not sure if the accepted answer is misinformed or just outdated, but it absolutely is possible to programmatically change the scene view camera’s projection.

SceneView.lastActiveSceneView.orthographic = true;

To set it to a back view

SceneView.lastActiveSceneView.LookAt(SceneView.lastActiveSceneView.pivot, Quaternion.LookRotation(Vector3.forward));

It’s not possible to change the SceneView’s camera’s perspective. It is, however, already orthonographic by default, so I’m not sure I understand your question.