⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Renderer.SetOrthoSize

static void SetOrthoSize(float viewportHeightMeters)

This sets the size of the orthographic projection’s viewport. You can use this feature to zoom in and out of the scene.

This value only affects orthographic mode projection, which is only available in 2D window modes.

   
float viewportHeightMeters The vertical size of the projection’s viewport, in meters.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!