expose setScene on View

This commit is contained in:
Nick Fisher
2025-06-27 11:34:01 +08:00
parent 48b631b0a8
commit 40e206fc94

View File

@@ -59,6 +59,12 @@ abstract class View {
///
///
Future<Scene> getScene();
/// Sets the scene currently associated with this View.
///
///
Future setScene(Scene scene);
Future<Viewport> getViewport();
Future setViewport(int width, int height);
Future<RenderTarget?> getRenderTarget();