file: FXGLPane.aus

class: FXGLPane

[20:7] extends: Region

Wraps FXGL's FXGLPane (com.almasb.fxgl.app.FXGLPane), a JavaFX Region subclass that hosts the FXGL render surface inside a regular JavaFX scene graph. Use when embedding an FXGL game inside a wider JavaFX desktop app (e.g. an editor that owns the menu bar / palettes around the game viewport). Construct with the desired pixel render width / height; the pane exposes render-width / render-height / render-fill as bindable observable properties so the game viewport can resize with the host window.

Methods