file: CanvasSkybox.aus

class: CanvasSkybox

[20:7] extends: NodeSkybox

Wraps FXGL's CanvasSkybox, a NodeSkybox subclass whose six faces are JavaFX Canvas nodes the caller can draw onto with a GraphicsContext. Use when the skybox is procedurally generated at runtime (e.g. dynamic weather, animated celestial bodies). CanvasSkybox extends NodeSkybox in Java, so this wrapper extends the fxgl NodeSkybox wrapper and inherits its face-Group accessors. Construct directly or through SkyboxBuilder.buildCanvasSkybox.

Methods