Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > b9e94760462922817883e424b7aac9f4 > files > 295

qt3d5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcamera.cpp -->
  <title>Camera QML Type | Qt 3D 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-qml.html">QML Types</a></td><td >Camera QML Type</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qt3d-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#methods">Methods</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Camera QML Type</h1>
<span class="subtitle"></span>
<!-- $$$Camera-brief -->
<p>Defines a view point through which the scene will be rendered. <a href="#details">More...</a></p>
<!-- @@@Camera -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import Qt3D.Render 2.12</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.5</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-render-camera.html"><a href="qt3drender-qcamera.html">QCamera</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qt3d-core-entity.html">Entity</a></p>
</td></tr></table></div><ul>
<li><a href="qml-qt3d-render-camera-members.html">List of all members, including inherited members</a></li>
<li><a href="qml-qt3d-render-camera-obsolete.html">Obsolete members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#aspectRatio-prop">aspectRatio</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#bottom-prop">bottom</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#exposure-prop">exposure</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#farPlane-prop">farPlane</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#fieldOfView-prop">fieldOfView</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#left-prop">left</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#nearPlane-prop">nearPlane</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#position-prop">position</a></b></b> : vector3d</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#projectionMatrix-prop">projectionMatrix</a></b></b> : matrix4x4</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#projectionType-prop">projectionType</a></b></b> : enumeration</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#right-prop">right</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#top-prop">top</a></b></b> : real</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#upVector-prop">upVector</a></b></b> : vector3d</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#viewCenter-prop">viewCenter</a></b></b> : vector3d</li>
<li class="fn"><b><b><a href="qml-qt3d-render-camera.html#viewVector-prop">viewVector</a></b></b> : vector3d</li>
</ul>
<a name="methods"></a>
<h2 id="methods">Methods</h2>
<ul>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#pan-method">pan</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#pan-method-1">pan</a></b></b>(real <i>angle</i>,  vector3d <i>axis</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#panAboutViewCenter-method">panAboutViewCenter</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#panAboutViewCenter-method-1">panAboutViewCenter</a></b></b>(real <i>angle</i>,  vector3d <i>axis</i>)</li>
<li class="fn">quaternion <b><b><a href="qml-qt3d-render-camera.html#panRotation-method">panRotation</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#roll-method">roll</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#rollAboutViewCenter-method">rollAboutViewCenter</a></b></b>(real <i>angle</i>)</li>
<li class="fn">quaternion <b><b><a href="qml-qt3d-render-camera.html#rollRotation-method">rollRotation</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#rotate-method">rotate</a></b></b>(quaternion <i>q</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#rotateAboutViewCenter-method">rotateAboutViewCenter</a></b></b>(quaternion <i>q</i>)</li>
<li class="fn">quaternion <b><b><a href="qml-qt3d-render-camera.html#rotation-method">rotation</a></b></b>(real <i>angle</i>,  vector3d <i>axis</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#tilt-method">tilt</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#tiltAboutViewCenter-method">tiltAboutViewCenter</a></b></b>(real <i>angle</i>)</li>
<li class="fn">quaternion <b><b><a href="qml-qt3d-render-camera.html#tiltRotation-method">tiltRotation</a></b></b>(real <i>angle</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#translate-method">translate</a></b></b>(vector3d <i>vLocal</i>,  enumeration <i>option</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#translateWorld-method">translateWorld</a></b></b>(vector3d <i>vWorld</i>,  enumeration <i>option</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#viewAll-method">viewAll</a></b></b>()</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#viewEntity-method">viewEntity</a></b></b>(Entity <i>entity</i>)</li>
<li class="fn">void <b><b><a href="qml-qt3d-render-camera.html#viewSphere-method">viewSphere</a></b></b>(vector3d <i>center</i>,  real <i>radius</i>)</li>
</ul>
<!-- $$$Camera-description -->
<a name="details"></a>
<h2 id="details">Detailed Description</h2>
<!-- @@@Camera -->
<h2>Property Documentation</h2>
<!-- $$$aspectRatio -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="aspectRatio-prop">
<td class="tblQmlPropNode"><p>
<a name="aspectRatio-prop"></a><span class="name">aspectRatio</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current aspect ratio of the camera.</p>
</div></div><!-- @@@aspectRatio -->
<br/>
<!-- $$$bottom -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="bottom-prop">
<td class="tblQmlPropNode"><p>
<a name="bottom-prop"></a><span class="name">bottom</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current bottom of the camera.</p>
<p>This property is only relevant when <a href="qml-qt3d-render-camera.html#projectionType-prop">projectionType</a> is <a href="qml-qt3d-render-cameralens.html">CameraLens</a>.OrthographicProjection.</p>
</div></div><!-- @@@bottom -->
<br/>
<!-- $$$exposure -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="exposure-prop">
<td class="tblQmlPropNode"><p>
<a name="exposure-prop"></a><span class="name">exposure</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current exposure of the camera.</p>
<p>The default value is 0.0&#x2e;</p>
<p>The <a href="qml-qt3d-extras-metalroughmaterial.html">MetalRoughMaterial</a> in Qt 3D Extras is currently the only provided material that makes use of camera exposure. Negative values will cause the material to be darker, and positive values will cause it to be lighter.</p>
<p>Custom materials may choose to interpret the value differently.</p>
</div></div><!-- @@@exposure -->
<br/>
<!-- $$$farPlane -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="farPlane-prop">
<td class="tblQmlPropNode"><p>
<a name="farPlane-prop"></a><span class="name">farPlane</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current camera far plane of the camera. Objects that are farther from the camera than the farPlane will not be rendered.</p>
</div></div><!-- @@@farPlane -->
<br/>
<!-- $$$fieldOfView -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="fieldOfView-prop">
<td class="tblQmlPropNode"><p>
<a name="fieldOfView-prop"></a><span class="name">fieldOfView</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current vertical field of view of the camera in degrees.</p>
<p>Along with <a href="qml-qt3d-render-camera.html#aspectRatio-prop">aspectRatio</a>, this property determines how much of the scene is visible to the camera. In that respect you might think of it as analogous to choosing a wide angle (wide horizontal field of view) or telephoto (narrow horizontal field of view) lens, depending on how much of a scene you want to capture.</p>
<p>fieldOfView is only relevant when <a href="qml-qt3d-render-camera.html#projectionType-prop">projectionType</a> is <a href="qml-qt3d-render-cameralens.html">CameraLens</a>.PerspectiveProjection.</p>
</div></div><!-- @@@fieldOfView -->
<br/>
<!-- $$$left -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="left-prop">
<td class="tblQmlPropNode"><p>
<a name="left-prop"></a><span class="name">left</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current left of the camera.</p>
<p>This property is only relevant when <a href="qml-qt3d-render-camera.html#projectionType-prop">projectionType</a> is <a href="qml-qt3d-render-cameralens.html">CameraLens</a>.OrthographicProjection.</p>
</div></div><!-- @@@left -->
<br/>
<!-- $$$nearPlane -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="nearPlane-prop">
<td class="tblQmlPropNode"><p>
<a name="nearPlane-prop"></a><span class="name">nearPlane</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current camera near plane of the camera. Objects that are closer to the camera than the nearPlane will not be rendered.</p>
</div></div><!-- @@@nearPlane -->
<br/>
<!-- $$$position -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="position-prop">
<td class="tblQmlPropNode"><p>
<a name="position-prop"></a><span class="name">position</span> : <span class="type">vector3d</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current position of the camera in coordinates relative to the parent entity.</p>
</div></div><!-- @@@position -->
<br/>
<!-- $$$projectionMatrix -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="projectionMatrix-prop">
<td class="tblQmlPropNode"><p>
<a name="projectionMatrix-prop"></a><span class="name">projectionMatrix</span> : <span class="type">matrix4x4</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current projection matrix of the camera.</p>
</div></div><!-- @@@projectionMatrix -->
<br/>
<!-- $$$projectionType -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="projectionType-prop">
<td class="tblQmlPropNode"><p>
<a name="projectionType-prop"></a><span class="name">projectionType</span> : <span class="type">enumeration</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the type of the camera projection. The default value is <a href="qml-qt3d-render-cameralens.html">CameraLens</a>.PerspectiveProjection.</p>
<ul>
<li><a href="qml-qt3d-render-cameralens.html">CameraLens</a>.OrthographicProjection - Parallel lines appear parallel. Objects appear the same size regardless of distance.</li>
<li><a href="qml-qt3d-render-cameralens.html">CameraLens</a>.PerspectiveProjection - Parallel lines appear to meet in the distance. Objects appear to shrink the farther they are from the camera.</li>
<li><a href="qml-qt3d-render-cameralens.html">CameraLens</a>.FrustumProjection</li>
<li><a href="qml-qt3d-render-cameralens.html">CameraLens</a>.CustomProjection</li>
</ul>
<p><b>See also </b><a href="qt3drender-qcameralens.html#ProjectionType-enum">Qt3DRender::QCameraLens::ProjectionType</a>.</p>
</div></div><!-- @@@projectionType -->
<br/>
<!-- $$$right -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="right-prop">
<td class="tblQmlPropNode"><p>
<a name="right-prop"></a><span class="name">right</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current right of the camera.</p>
<p>This property is only relevant when <a href="qml-qt3d-render-camera.html#projectionType-prop">projectionType</a> is <a href="qml-qt3d-render-cameralens.html">CameraLens</a>.OrthographicProjection.</p>
</div></div><!-- @@@right -->
<br/>
<!-- $$$top -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="top-prop">
<td class="tblQmlPropNode"><p>
<a name="top-prop"></a><span class="name">top</span> : <span class="type">real</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current top of the camera.</p>
<p>This property is only relevant when <a href="qml-qt3d-render-camera.html#projectionType-prop">projectionType</a> is <a href="qml-qt3d-render-cameralens.html">CameraLens</a>.OrthographicProjection.</p>
</div></div><!-- @@@top -->
<br/>
<!-- $$$upVector -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="upVector-prop">
<td class="tblQmlPropNode"><p>
<a name="upVector-prop"></a><span class="name">upVector</span> : <span class="type">vector3d</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current up vector of the camera in coordinates relative to the parent entity.</p>
<p>The up vector indicates which direction the top of the camera is facing. Think of taking a picture: after positioning yourself and pointing the camera at your target, you might rotate the camera left or right, giving you a portrait or landscape (or angled!) shot. upVector allows you to control this type of movement.</p>
</div></div><!-- @@@upVector -->
<br/>
<!-- $$$viewCenter -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="viewCenter-prop">
<td class="tblQmlPropNode"><p>
<a name="viewCenter-prop"></a><span class="name">viewCenter</span> : <span class="type">vector3d</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the current view center of the camera in coordinates relative to the parent entity.</p>
<p>Intuitively, the viewCenter is the location the camera is pointing at.</p>
</div></div><!-- @@@viewCenter -->
<br/>
<!-- $$$viewVector -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="viewVector-prop">
<td class="tblQmlPropNode"><p>
<a name="viewVector-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">viewVector</span> : <span class="type">vector3d</span></p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Holds the camera's view vector in coordinates relative to the parent entity.</p>
<p>This vector decribes the displacement from the camera (<a href="qml-qt3d-render-camera.html#position-prop">position</a>) to its target (<a href="qml-qt3d-render-camera.html#viewCenter-prop">viewCenter</a>).</p>
</div></div><!-- @@@viewVector -->
<br/>
<h2>Method Documentation</h2>
<!-- $$$pan -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pan-method">
<td class="tblQmlFuncNode"><p>
<a name="pan-method"></a><span class="type">void</span> <span class="name">pan</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the pan angle of the camera by <i>angle</i> in degrees.</p>
</div></div><!-- @@@pan -->
<br/>
<!-- $$$pan -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="pan-method-1">
<td class="tblQmlFuncNode"><p>
<a name="pan-method-1"></a><span class="type">void</span> <span class="name">pan</span>(<span class="type">real</span> <i>angle</i>,  <span class="type">vector3d</span> <i>axis</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the camera pan about view center by <i>angle</i> in degrees on <i>axis</i>.</p>
</div></div><!-- @@@pan -->
<br/>
<!-- $$$panAboutViewCenter -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="panAboutViewCenter-method">
<td class="tblQmlFuncNode"><p>
<a name="panAboutViewCenter-method"></a><span class="type">void</span> <span class="name">panAboutViewCenter</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the camera pan about view center by <i>angle</i> in degrees.</p>
</div></div><!-- @@@panAboutViewCenter -->
<br/>
<!-- $$$panAboutViewCenter -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="panAboutViewCenter-method-1">
<td class="tblQmlFuncNode"><p>
<a name="panAboutViewCenter-method-1"></a><span class="type">void</span> <span class="name">panAboutViewCenter</span>(<span class="type">real</span> <i>angle</i>,  <span class="type">vector3d</span> <i>axis</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the camera pan about view center by <i>angle</i> in degrees on <i>axis</i>.</p>
</div></div><!-- @@@panAboutViewCenter -->
<br/>
<!-- $$$panRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="panRotation-method">
<td class="tblQmlFuncNode"><p>
<a name="panRotation-method"></a><span class="type">quaternion</span> <span class="name">panRotation</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the calculated pan rotation in relation to the <i>angle</i> in degrees taken in to adjust the camera's pan or left/right rotation on the Y axis.</p>
</div></div><!-- @@@panRotation -->
<br/>
<!-- $$$roll -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="roll-method">
<td class="tblQmlFuncNode"><p>
<a name="roll-method"></a><span class="type">void</span> <span class="name">roll</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the camera roll by <i>angle</i> in degrees.</p>
</div></div><!-- @@@roll -->
<br/>
<!-- $$$rollAboutViewCenter -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="rollAboutViewCenter-method">
<td class="tblQmlFuncNode"><p>
<a name="rollAboutViewCenter-method"></a><span class="type">void</span> <span class="name">rollAboutViewCenter</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the camera roll about view center by <i>angle</i> in degrees.</p>
</div></div><!-- @@@rollAboutViewCenter -->
<br/>
<!-- $$$rollRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="rollRotation-method">
<td class="tblQmlFuncNode"><p>
<a name="rollRotation-method"></a><span class="type">quaternion</span> <span class="name">rollRotation</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the calculated roll rotation in relation to the <i>angle</i> in degrees taken in to adjust the camera's roll or lean left/right rotation on the Z axis.</p>
</div></div><!-- @@@rollRotation -->
<br/>
<!-- $$$rotate -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="rotate-method">
<td class="tblQmlFuncNode"><p>
<a name="rotate-method"></a><span class="type">void</span> <span class="name">rotate</span>(<span class="type">quaternion</span> <i>q</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Rotates the camera with the use of a Quaternion in <i>q</i>.</p>
</div></div><!-- @@@rotate -->
<br/>
<!-- $$$rotateAboutViewCenter -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="rotateAboutViewCenter-method">
<td class="tblQmlFuncNode"><p>
<a name="rotateAboutViewCenter-method"></a><span class="type">void</span> <span class="name">rotateAboutViewCenter</span>(<span class="type">quaternion</span> <i>q</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Rotates the camera about the view center with the use of a Quaternion in <i>q</i>.</p>
</div></div><!-- @@@rotateAboutViewCenter -->
<br/>
<!-- $$$rotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="rotation-method">
<td class="tblQmlFuncNode"><p>
<a name="rotation-method"></a><span class="type">quaternion</span> <span class="name">rotation</span>(<span class="type">real</span> <i>angle</i>,  <span class="type">vector3d</span> <i>axis</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the calculated rotation in relation to the <i>angle</i> in degrees and chosen <i>axis</i> taken in.</p>
</div></div><!-- @@@rotation -->
<br/>
<!-- $$$tilt -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="tilt-method">
<td class="tblQmlFuncNode"><p>
<a name="tilt-method"></a><span class="type">void</span> <span class="name">tilt</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the tilt angle of the camera by <i>angle</i> in degrees.</p>
</div></div><!-- @@@tilt -->
<br/>
<!-- $$$tiltAboutViewCenter -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="tiltAboutViewCenter-method">
<td class="tblQmlFuncNode"><p>
<a name="tiltAboutViewCenter-method"></a><span class="type">void</span> <span class="name">tiltAboutViewCenter</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Adjusts the camera tilt about view center by <i>angle</i> in degrees.</p>
</div></div><!-- @@@tiltAboutViewCenter -->
<br/>
<!-- $$$tiltRotation -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="tiltRotation-method">
<td class="tblQmlFuncNode"><p>
<a name="tiltRotation-method"></a><span class="type">quaternion</span> <span class="name">tiltRotation</span>(<span class="type">real</span> <i>angle</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Returns the calculated tilt rotation in relation to the <i>angle</i> in degrees taken in to adjust the camera's tilt or up/down rotation on the X axis.</p>
</div></div><!-- @@@tiltRotation -->
<br/>
<!-- $$$translate -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="translate-method">
<td class="tblQmlFuncNode"><p>
<a name="translate-method"></a><span class="type">void</span> <span class="name">translate</span>(<span class="type">vector3d</span> <i>vLocal</i>,  <span class="type">enumeration</span> <i>option</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Translates the camera's position and its view vector by <i>vLocal</i> in local coordinates. The <i>option</i> allows for toggling whether the view center should be translated.</p>
<ul>
<li>Camera.TranslateViewCenter</li>
<li>Camera.DontTranslateViewCenter</li>
</ul>
<p><b>See also </b><a href="qt3drender-qcamera.html#CameraTranslationOption-enum">Qt3DRender::QCamera::CameraTranslationOption</a>.</p>
</div></div><!-- @@@translate -->
<br/>
<!-- $$$translateWorld -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="translateWorld-method">
<td class="tblQmlFuncNode"><p>
<a name="translateWorld-method"></a><span class="type">void</span> <span class="name">translateWorld</span>(<span class="type">vector3d</span> <i>vWorld</i>,  <span class="type">enumeration</span> <i>option</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Translates the camera's position and its view vector by <i>vWorld</i> in world coordinates. The <i>option</i> allows for toggling whether the view center should be translated.</p>
<ul>
<li>Camera.TranslateViewCenter</li>
<li>Camera.DontTranslateViewCenter</li>
</ul>
<p><b>See also </b><a href="qt3drender-qcamera.html#CameraTranslationOption-enum">Qt3DRender::QCamera::CameraTranslationOption</a>.</p>
</div></div><!-- @@@translateWorld -->
<br/>
<!-- $$$viewAll -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="viewAll-method">
<td class="tblQmlFuncNode"><p>
<a name="viewAll-method"></a><span class="type">void</span> <span class="name">viewAll</span>()</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Rotates and moves the camera so that it's <a href="qml-qt3d-render-camera.html#viewCenter-prop">viewCenter</a> is the center of the scene's bounding volume and the entire scene fits in the view port.</p>
<p><b>Note: </b>Only works if the lens is in perspective projection mode.</p><p><b>See also </b><a href="qml-qt3d-render-camera.html#projectionType-prop">Qt3D.Render::Camera::projectionType</a>.</p>
</div></div><!-- @@@viewAll -->
<br/>
<!-- $$$viewEntity -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="viewEntity-method">
<td class="tblQmlFuncNode"><p>
<a name="viewEntity-method"></a><span class="type">void</span> <span class="name">viewEntity</span>(<span class="type"><a href="qml-qt3d-core-entity.html">Entity</a></span> <i>entity</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Rotates and moves the camera so that it's <a href="qml-qt3d-render-camera.html#viewCenter-prop">viewCenter</a> is the center of the entity's bounding volume and the entire entity fits in the view port.</p>
<p><b>Note: </b>Only works if the lens is in perspective projection mode.</p><p><b>See also </b><a href="qml-qt3d-render-camera.html#projectionType-prop">Qt3D.Render::Camera::projectionType</a>.</p>
</div></div><!-- @@@viewEntity -->
<br/>
<!-- $$$viewSphere -->
<div class="qmlitem"><div class="qmlproto">
<div class="table"><table class="qmlname">
<tr valign="top" class="odd" id="viewSphere-method">
<td class="tblQmlFuncNode"><p>
<a name="viewSphere-method"></a><span class="type">void</span> <span class="name">viewSphere</span>(<span class="type">vector3d</span> <i>center</i>,  <span class="type">real</span> <i>radius</i>)</p></td></tr>
</table></div>
</div><div class="qmldoc"><p>Rotates and moves the camera so that it's <a href="qml-qt3d-render-camera.html#viewCenter-prop">viewCenter</a> is <i>center</i> and a sphere of <i>radius</i> fits in the view port.</p>
<p><b>Note: </b>Only works if the lens is in perspective projection mode.</p><p><b>See also </b><a href="qml-qt3d-render-camera.html#projectionType-prop">Qt3D.Render::Camera::projectionType</a>.</p>
</div></div><!-- @@@viewSphere -->
<br/>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>