StaticsystemThe name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
StaticwithLists the system in EngineOptions.systems together with its dependencies: classes and functions from the game code that cannot live in the configuration. The system receives them as the second argument of its constructor.
The dependencies of the system.
A binding to put into EngineOptions.systems.
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