pub fn paint_scene3d(
ui: &mut Ui,
rect: Rect,
id: Scene3dId,
camera: &Camera,
background: Color32,
)Expand description
Register the paint callback that renders scene id into rect from
camera’s viewpoint, on background. The camera’s aspect is taken from
rect’s pixel size for this frame (the passed camera is not mutated).
Requires install_scene3d + set_scene3d.