Change Orthographic Zoom via render script

Is it possible to change the orthographic zoom in the render script? If so I can’t figure it out.

I have a camera GO wiht the camera component under it. I have it set as follows:
image

I want to know how to change the Orthographic zoom value in the render script as I’m already doing things in the render script and would rather keep it there.

I am able to do it via a script using go.set, but was hoping to do it directly in the render script.

The camera will send a view and projection matrix based on the camera configuration. You would have to do the calculation of the projection matrix in the render script instead. There is code in the default render script to create an orthographic projection with zoom:

I think I’ll stick with controlling it via script outside of the render script…l0l. I tried to get the render thing working but the zoom appears to not impact orthographic zoom. So I guess I’d need to calculate the distance I need to move the camera and stuff. Much easier just doing it outside the render script, which I already have working. Thanks for your reply.