Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: DebugCameraScene

[20:7] extends: FxglSubScene

Wraps FXGL's DebugCameraScene (com.almasb.fxgl.dev.DebugCameraScene), a SubScene that draws the active scene's viewport boundary in red and lets the developer pan the underlying scene root with Ctrl-Arrow keys. Allows concurrent sub-scenes (its isAllowConcurrency is true). Pushed onto the scene stack by SystemActions via Ctrl-7 in non-RELEASE modes; construct one directly to push it manually.

Methods

  • DebugCameraScene (bool Construct = true)

    Creates a new DebugCameraScene. Pass false to construct an empty wrapper for adopt; the default (true) instantiates the engine class, which requires a running FXGL engine.

    • @p Construct is true to instantiate immediately, false for an empty wrapper.
  • adopt (object Ajo)

    Wraps an existing DebugCameraScene AussomJavaObject.

    • @p Ajo is an AussomJavaObject around a DebugCameraScene.
    • @r A new wrapper.