Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 845e36bb3ecce380666d628d88446962 > files > 75

qtdatavis3d5-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" />
<!-- q3dlight.cpp -->
  <title>Q3DLight Class | Qt Data Visualization 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="qtdatavisualization-index.html">Qt Data Visualization</a></td><td ><a href="qtdatavisualization-module.html">C++ Classes</a></td><td >Q3DLight</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtdatavisualization-index.html">Qt Data Visualization | Commercial or GPLv3</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="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</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">Q3DLight Class</h1>
<!-- $$$Q3DLight-brief -->
<p>Representation of a light source in 3D space. <a href="#details">More...</a></p>
<!-- @@@Q3DLight -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;Q3DLight&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  QtDataVisualization 1.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qtdatavisualization-light3d.html">Light3D</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="q3dobject.html">Q3DObject</a></td></tr></table></div><ul>
<li><a href="q3dlight-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn"><b><a href="q3dlight.html#autoPosition-prop">autoPosition</a></b> : bool</li>
</ul>
<ul>
<li class="fn">2 properties inherited from <a href="q3dobject.html#properties">Q3DObject</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="q3dlight.html#Q3DLight">Q3DLight</a></b>(QObject *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="q3dlight.html#dtor.Q3DLight">~Q3DLight</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="q3dlight.html#autoPosition-prop">isAutoPosition</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3dlight.html#autoPosition-prop">setAutoPosition</a></b>(bool <i>enabled</i>)</td></tr>
</table></div>
<ul>
<li class="fn">4 public functions inherited from <a href="q3dobject.html#public-functions">Q3DObject</a></li>
</ul>
<a name="signals"></a>
<h2 id="signals">Signals</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="q3dlight.html#autoPosition-prop">autoPositionChanged</a></b>(bool <i>autoPosition</i>)</td></tr>
</table></div>
<ul>
<li class="fn">1 signal inherited from <a href="q3dobject.html#signals">Q3DObject</a></li>
</ul>
<a name="static-public-members"></a>
<h2 id="static-public-members">Static Public Members</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="q3dlight.html#staticMetaObject-var">staticMetaObject</a></b></td></tr>
</table></div>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">2 protected functions inherited from <a href="q3dobject.html#protected-functions">Q3DObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$Q3DLight-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>Representation of a light source in 3D space.</p>
<p><a href="q3dlight.html">Q3DLight</a> represents a monochrome light source in 3D space.</p>
<p><b>Note: </b>Default light has <a href="q3dlight.html#autoPosition-prop">isAutoPosition</a>() <code>true</code>.</p></div>
<!-- @@@Q3DLight -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$autoPosition-prop$$$isAutoPosition$$$setAutoPositionbool$$$autoPositionChangedbool -->
<h3 class="fn" id="autoPosition-prop"><a name="autoPosition-prop"></a><span class="name">autoPosition</span> : <span class="type">bool</span></h3>
<p>This property holds whether the light position follows the camera automatically.</p>
<p><b>Note: </b>Has no effect if shadows are enabled. Remember to disable shadows before setting light's position, or it will be overwritten by automatic positioning if <code>isAutoPosition()</code> is <code>false</code>.</p><p>This property was introduced in  QtDataVisualization 5.9.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>isAutoPosition</b></span>()</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAutoPosition</b></span>(bool <i>enabled</i>)</td></tr>
</table></div>
<p><b>Notifier signal:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>autoPositionChanged</b></span>(bool <i>autoPosition</i>)</td></tr>
</table></div>
<!-- @@@autoPosition -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$Q3DLight[overload1]$$$Q3DLightQObject* -->
<h3 class="fn" id="Q3DLight"><a name="Q3DLight"></a>Q3DLight::<span class="name">Q3DLight</span>(<span class="type">QObject</span> *<i>parent</i> = nullptr)</h3>
<p>Constructs a new 3D light located at origin. An optional <i>parent</i> parameter can be given and is then passed to QObject constructor.</p>
<!-- @@@Q3DLight -->
<!-- $$$~Q3DLight[overload1]$$$~Q3DLight -->
<h3 class="fn" id="dtor.Q3DLight"><a name="dtor.Q3DLight"></a><code>[virtual] </code>Q3DLight::<span class="name">~Q3DLight</span>()</h3>
<p>Destroys the light object.</p>
<!-- @@@~Q3DLight -->
</div>
        </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>