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

RenderSettings.viewport

Rect viewport

Description

Allows you to specify a region of the rendertarget to draw to! This is in normalized coordinates, 0-1. If the width of this value is zero (the default), then this will render to the entire texture.




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