file: Camera3D.aus

class: Camera3D

[17:7] extends: FxObj

Wraps FXGL's Camera3D (com.almasb.fxgl.app.scene.Camera3D), a convenience wrapper around a JavaFX PerspectiveCamera with a TransformComponent for position and rotation, plus tpf-scaled move helpers (moveForward, moveLeft, etc.). Used by 3D games to drive a first-person or follow camera. Bind the underlying PerspectiveCamera (getPerspectiveCamera) to a SubScene to render its view.

Methods