Qml 3D Camera customization



  • Hello, guys.

    Here is the BaseCamera.qml file code from official wireframe example:

    import Qt3D.Core 2.0
    import Qt3D.Render 2.0

    Camera {
    id: mainCamera
    projectionType: CameraLens.PerspectiveProjection
    fieldOfView: 22.5
    aspectRatio: _window.width / _window.height
    nearPlane: 0.01
    farPlane: 1000.0
    viewCenter: Qt.vector3d( 0.0, 0.0, 0.0 )
    upVector: Qt.vector3d( 0.0, 1.0, 0.0 )
    }

    The question: is there a way to increase camera`s viewing speed when pressing keyboard direction buttons?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.