Bitbybit Docs
    Preparing search index...

    Class BabylonTargetCamera

    The fixed camera: it sits at a position looking at a target with no navigation controls of its own, for views a script places itself.

    Index

    Constructors

    create

    Constructors

    create

    • Creates a camera at position looking at target with no navigation controls of its own, and adds it to the scene without activating it.

      Parameters

      Returns TargetCamera

      The target camera

      const camera = bitbybit.babylon.camera.target.create({ position: [20, 20, 20], target: [0, 0, 0] });
      bitbybit.babylon.scene.activateCamera({ camera });