Do Viewport Frames render when off Screen?

I finished scripting an Inventory UI, that shows all the items that you own in the game.
For each item, I make a specific viewport frame for that item.
I am now dealing with optimization, and I wonder, do Viewport Frames render when off-screen?
Because if so, I will consider deleting them when the UI is closed, and re-creating them once the UI opens.

As long as you aren’t changing anything inside the viewport frame which causes re-render then you should be fine for the most part. Though I should suggest keeping the overall part limit down in the viewport if your all about optimization.

If you are planning on rotating the item don’t rotate the camera around the instance instead, As mentioned on the Viewport Frame documentation

ViewportFrame GUI.

1 Like

Thanks for the very informative response.

1 Like