Function re_space_view_spatial::ui_2d::ui_from_scene

source ·
fn ui_from_scene(
    ctx: &ViewerContext<'_>,
    view_id: SpaceViewId,
    response: &Response,
    view_class: &SpatialSpaceView2D,
    view_state: &mut SpatialSpaceViewState
) -> RectTransform
Expand description

Pan and zoom, and return the current transform.