Skip to content

Class TouchCameraController

ClassList > TouchCameraController

Inherits the following classes: QtQuick::Item

Public Properties

Type Name
property PerspectiveCamera camera
property real defaultDistance
property real defaultPitch
property real defaultYaw
property real distance
property real maxDistance
property real maxPitch
property real minDistance
property real minPitch
property real orbitSensitivity
property real pitch
property vector3d target
property real targetX
property real targetY
property real targetZ
property real yaw

Public Signals

Type Name
signal void singleTapped (real x, real y)
signal void userInteractionStarted

Public Functions

Type Name
void applyPan (dx, dy)
void clampDistance (value)
void clampPitch (value)
void flyTo (newTarget, newDistance, newYaw, newPitch)
void lookAtPoint (point, zoomDistance)
void resetView ()
void updateCameraPosition ()
void zoomToFit (center, radius)

Public Properties Documentation

property camera

PerspectiveCamera TouchCameraController::camera;

property defaultDistance

real TouchCameraController::defaultDistance;

property defaultPitch

real TouchCameraController::defaultPitch;

property defaultYaw

real TouchCameraController::defaultYaw;

property distance

real TouchCameraController::distance;

property maxDistance

real TouchCameraController::maxDistance;

property maxPitch

real TouchCameraController::maxPitch;

property minDistance

real TouchCameraController::minDistance;

property minPitch

real TouchCameraController::minPitch;

property orbitSensitivity

real TouchCameraController::orbitSensitivity;

property pitch

real TouchCameraController::pitch;

property target

vector3d TouchCameraController::target;

property targetX

real TouchCameraController::targetX;

property targetY

real TouchCameraController::targetY;

property targetZ

real TouchCameraController::targetZ;

property yaw

real TouchCameraController::yaw;

Public Signals Documentation

signal singleTapped

void TouchCameraController::singleTapped;

signal userInteractionStarted

void TouchCameraController::userInteractionStarted;

Public Functions Documentation

function applyPan

void TouchCameraController::applyPan (
    dx,
    dy
) 

function clampDistance

void TouchCameraController::clampDistance (
    value
) 

function clampPitch

void TouchCameraController::clampPitch (
    value
) 

function flyTo

void TouchCameraController::flyTo (
    newTarget,
    newDistance,
    newYaw,
    newPitch
) 

function lookAtPoint

void TouchCameraController::lookAtPoint (
    point,
    zoomDistance
) 

function resetView

void TouchCameraController::resetView () 

function updateCameraPosition

void TouchCameraController::updateCameraPosition () 

function zoomToFit

void TouchCameraController::zoomToFit (
    center,
    radius
) 


The documentation for this class was generated from the following file src/qml/3d/TouchCameraController.qml