Skip to main content

scene_bounds

Function scene_bounds 

Source
pub fn scene_bounds() -> Rect
Expand description

The square the scene occupies. Effects and the live preview map exactly this rectangle onto their [0,1] UV space, so the editor shows the same one.