dacha
    Preparing search index...

    Class CameraAPI

    API that manages camera control and current camera tracking

    Provides methods to set and get the current camera actor

    Index
    • Returns the actor of the current camera, or undefined if there is none.

      Returns Actor | undefined

    • Makes the actor the current camera. The game shows the scene through it.

      Parameters

      Returns void

      Error If the actor has no Camera component.