Function re_view_spatial::ui_2d::ui_from_scene

source ยท
fn ui_from_scene(
    ctx: &ViewerContext<'_>,
    response: &Response,
    view_class: &SpatialView2D,
    view_state: &mut SpatialViewState,
    bounds_property: &ViewProperty,
) -> RectTransform
Expand description

Pan and zoom, and return the current transform.