- Home /
Prevent objects from disappearing when zooming in on an orthographic scene?
Looking to get rid of this effect. Read a suggestion that said setting the clipping planes to a negative value should work, but the clipping planes in a scene view seem to be prevented from being zero or lower.
Answer by Tezemi · Jan 26, 2020 at 11:59 PM
SceneView.lastActiveSceneView.cameraSettings.nearClip = -500f;
SceneView.lastActiveSceneView.camera.nearClipPlane = -500f;
This works, but opening the camera settings for the scene will reset the value. Probably a good idea to throw this in something that updates automatically in the editor.
Your answer
Follow this Question
Related Questions
Can you figure out why AngryAnt's CameraViewer is crashing? 0 Answers
How to resize a camera's orthoSize for an object to fit inside its rect viewport? 1 Answer
Center Object in Viewport 1 Answer
Why Is My Orthographic Camera Not Rendering at the Full Resolution? 1 Answer
How to prevent objects from disappearing when zooming in an orthographic viewport? 1 Answer