Scaling Gizmo Depending on the Scene View Camera

When we use Gizmos API for drawing objects, the object is drawn in world space and it won’t get scaled depending on the camera zoom in the scene view, to fix this, you need to scale the size of gizmo, by using HandleUtility.GetHandleSize: (The below is an example usage of this method)


Thanks for reading!

Hasan Bayat

Awesome Developer.

Leave a Comment

Your email address will not be published. Required fields are marked *