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.
Draws the actors that have a view component: Sprite, Shape, BitmapText, Mesh or PixiView.
The system registers RendererAPI in
world.systemApi.Options:
windowNodeId: the id of the element the renderer adds its canvas to.backgroundColor: the window background color.filterEffects: post-processing effects for the whole screen.The global option
sortingsets the sorting layers and the draw order, see Sorting. Pass your shaders and filter effects withRenderer.with({ shaders, filterEffects }), see RendererDependencies.The renderer needs CameraSystem before it in the systems list. Put it after every system that moves actors or changes their view components.
See
Rendering