Tracks the current camera and keeps its window size up to date.
The system works with actors that have a Camera component. It registers CameraAPI in world.systemApi. Use it to get or change the current camera.
world.systemApi
Options:
windowNodeId
Put CameraSystem before Renderer.
CameraSystem
Camera
Static
The name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
Tracks the current camera and keeps its window size up to date.
The system works with actors that have a Camera component. It registers CameraAPI in
world.systemApi. Use it to get or change the current camera.Options:
windowNodeId: the id of the element that displays the game. Use the same value as in Renderer.Put
CameraSystembefore Renderer.See
Camera