dacha
    Preparing search index...

    Class CameraSystem

    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 CameraSystem before Renderer.

    Camera

    Hierarchy (View Summary)

    Index
    systemName: string

    The name the configuration uses for the system.

    DefineSystem sets it, so a game usually does not assign it.