CameraController Class

  • CameraController
  • class Esri::ArcGISRuntime::CameraController

    A camera controller manages the position, orientation, and movement of a Camera in a SceneView. More...

    Public Functions

    virtual ~CameraController() override
    Esri::ArcGISRuntime::CameraControllerType cameraControllerType() const

    Detailed Description

    This is a base class for a number of camera controllers. Each type of camera controller is designed to provide a specific user experience for interacting with the scene display. The camera controller and its properties can be changed at run time, so you can provide the scene interaction experience best suited for the current context. The following are examples of camera controllers:

    When a camera controller other than GlobeCameraController is active, the scene view's viewpoint cannot be assigned. Attempts to do so are ignored.

    Relevant samples:

    Member Function Documentation

    [override virtual] CameraController::~CameraController()

    Destructor

    Esri::ArcGISRuntime::CameraControllerType CameraController::cameraControllerType() const

    Returns the type of camera_controller.

    The camera_controller type for a specific camera_controller. Will return -1 if an error occurs.

    See also CameraControllerType.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close