<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qconegeometry.cpp --> <title>QConeGeometry Class | Qt 3D 5.11</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 ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >QConeGeometry</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</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="#public-slots">Public Slots</a></li> <li class="level1"><a href="#signals">Signals</a></li> <li class="level1"><a href="#protected-functions">Protected Functions</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">QConeGeometry Class</h1> <span class="small-subtitle">(<a href="qt3dextras-qconegeometry.html">Qt3DExtras::QConeGeometry</a>)<br/></span> <!-- $$$QConeGeometry-brief --> <p>The <a href="qt3dextras-qconegeometry.html">QConeGeometry</a> class allows creation of a cone in 3D space. * * * * * The <a href="qt3dextras-qconegeometry.html">QConeGeometry</a> class is most commonly used internally by the <a href="qt3dextras-qconemesh.html">QConeMesh</a> * but can also be used in custom <a href="qt3drender-qgeometryrenderer.html">Qt3DRender::QGeometryRenderer</a> subclasses. The class * allows for creation of both a cone and a truncated cone. <a href="#details">More...</a></p> <!-- @@@QConeGeometry --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <Qt3DExtras/QConeGeometry></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += 3dextras</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.7</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-extras-conegeometry.html">ConeGeometry</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qt3drender-qgeometry.html">Qt3DRender::QGeometry</a></td></tr></table></div><ul> <li><a href="qt3dextras-qconegeometry-members.html">List of all members, including inherited members</a></li> </ul> <a name="properties"></a> <h2 id="properties">Properties</h2> <div class="table"><table class="propsummary"> <tr><td class="topAlign"><ul> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#bottomRadius-prop">bottomRadius</a></b> : float</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#hasBottomEndcap-prop">hasBottomEndcap</a></b> : bool</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#hasTopEndcap-prop">hasTopEndcap</a></b> : bool</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#indexAttribute-prop">indexAttribute</a></b> : Qt3DRender::QAttribute* const</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#length-prop">length</a></b> : float</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#normalAttribute-prop">normalAttribute</a></b> : Qt3DRender::QAttribute* const</li> </ul></td><td class="topAlign"><ul> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#positionAttribute-prop">positionAttribute</a></b> : Qt3DRender::QAttribute* const</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#rings-prop">rings</a></b> : int</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#slices-prop">slices</a></b> : int</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#texCoordAttribute-prop">texCoordAttribute</a></b> : Qt3DRender::QAttribute* const</li> <li class="fn"><b><a href="qt3dextras-qconegeometry.html#topRadius-prop">topRadius</a></b> : float</li> </ul> </td></tr> </table></div> <ul> <li class="fn">1 property inherited from <a href="qt3drender-qgeometry.html#properties">Qt3DRender::QGeometry</a></li> <li class="fn">3 properties inherited from <a href="qt3dcore-qnode.html#properties">Qt3DCore::QNode</a></li> <li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</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="qt3dextras-qconegeometry.html#QConeGeometry">QConeGeometry</a></b>(Qt3DCore::QNode *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#bottomRadius-prop">bottomRadius</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#hasBottomEndcap-prop">hasBottomEndcap</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#hasTopEndcap-prop">hasTopEndcap</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#indexAttribute-prop">indexAttribute</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#length-prop">length</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#normalAttribute-prop">normalAttribute</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#positionAttribute-prop">positionAttribute</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#rings-prop">rings</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#slices-prop">slices</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#texCoordAttribute-prop">texCoordAttribute</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#topRadius-prop">topRadius</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#updateIndices">updateIndices</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#updateVertices">updateVertices</a></b>()</td></tr> </table></div> <ul> <li class="fn">4 public functions inherited from <a href="qt3drender-qgeometry.html#public-functions">Qt3DRender::QGeometry</a></li> <li class="fn">13 public functions inherited from <a href="qt3dcore-qnode.html#public-functions">Qt3DCore::QNode</a></li> <li class="fn">34 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li> </ul> <a name="public-slots"></a> <h2 id="public-slots">Public Slots</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#bottomRadius-prop">setBottomRadius</a></b>(float <i>bottomRadius</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#hasBottomEndcap-prop">setHasBottomEndcap</a></b>(bool <i>hasBottomEndcap</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#hasTopEndcap-prop">setHasTopEndcap</a></b>(bool <i>hasTopEndcap</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#length-prop">setLength</a></b>(float <i>length</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#rings-prop">setRings</a></b>(int <i>rings</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#slices-prop">setSlices</a></b>(int <i>slices</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#topRadius-prop">setTopRadius</a></b>(float <i>topRadius</i>)</td></tr> </table></div> <ul> <li class="fn">1 public slot inherited from <a href="qt3drender-qgeometry.html#public-slots">Qt3DRender::QGeometry</a></li> <li class="fn">3 public slots inherited from <a href="qt3dcore-qnode.html#public-slots">Qt3DCore::QNode</a></li> <li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</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="qt3dextras-qconegeometry.html#bottomRadius-prop">bottomRadiusChanged</a></b>(float <i>bottomRadius</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#hasBottomEndcap-prop">hasBottomEndcapChanged</a></b>(bool <i>hasBottomEndcap</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#hasTopEndcap-prop">hasTopEndcapChanged</a></b>(bool <i>hasTopEndcap</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#length-prop">lengthChanged</a></b>(float <i>length</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#rings-prop">ringsChanged</a></b>(int <i>rings</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#slices-prop">slicesChanged</a></b>(int <i>slices</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#topRadius-prop">topRadiusChanged</a></b>(float <i>topRadius</i>)</td></tr> </table></div> <ul> <li class="fn">1 signal inherited from <a href="qt3drender-qgeometry.html#signals">Qt3DRender::QGeometry</a></li> <li class="fn">4 signals inherited from <a href="qt3dcore-qnode.html#signals">Qt3DCore::QNode</a></li> <li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li> </ul> <a name="protected-functions"></a> <h2 id="protected-functions">Protected Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qconegeometry.html#QConeGeometry-1">QConeGeometry</a></b>(Qt3DExtras::QConeGeometryPrivate &<i>dd</i>, Qt3DCore::QNode *<i>parent</i> = nullptr)</td></tr> </table></div> <ul> <li class="fn">2 protected functions inherited from <a href="qt3dcore-qnode.html#protected-functions">Qt3DCore::QNode</a></li> <li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li> <li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li> <li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li> </ul> <a name="details"></a> <!-- $$$QConeGeometry-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>* * * *</p> <p>The <a href="qt3dextras-qconegeometry.html">QConeGeometry</a> class allows creation of a cone in 3D space. * * * * * The <a href="qt3dextras-qconegeometry.html">QConeGeometry</a> class is most commonly used internally by the <a href="qt3dextras-qconemesh.html">QConeMesh</a> * but can also be used in custom <a href="qt3drender-qgeometryrenderer.html">Qt3DRender::QGeometryRenderer</a> subclasses. The class * allows for creation of both a cone and a truncated cone.</p> </div> <!-- @@@QConeGeometry --> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$bottomRadius-prop$$$bottomRadius$$$setBottomRadiusfloat$$$bottomRadiusChangedfloat --> <h3 class="fn" id="bottomRadius-prop"><a name="bottomRadius-prop"></a><span class="name">bottomRadius</span> : <span class="type">float</span></h3> <p>Holds the bottom radius of the cone.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>bottomRadius</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBottomRadius</b></span>(float <i>bottomRadius</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>bottomRadiusChanged</b></span>(float <i>bottomRadius</i>)</td></tr> </table></div> <!-- @@@bottomRadius --> <!-- $$$hasBottomEndcap-prop$$$hasBottomEndcap$$$setHasBottomEndcapbool$$$hasBottomEndcapChangedbool --> <h3 class="fn" id="hasBottomEndcap-prop"><a name="hasBottomEndcap-prop"></a><span class="name">hasBottomEndcap</span> : <span class="type">bool</span></h3> <p>Determines if the cone bottom is capped or open.</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>hasBottomEndcap</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHasBottomEndcap</b></span>(bool <i>hasBottomEndcap</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>hasBottomEndcapChanged</b></span>(bool <i>hasBottomEndcap</i>)</td></tr> </table></div> <!-- @@@hasBottomEndcap --> <!-- $$$hasTopEndcap-prop$$$hasTopEndcap$$$setHasTopEndcapbool$$$hasTopEndcapChangedbool --> <h3 class="fn" id="hasTopEndcap-prop"><a name="hasTopEndcap-prop"></a><span class="name">hasTopEndcap</span> : <span class="type">bool</span></h3> <p>Determines if the cone top is capped or open.</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>hasTopEndcap</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setHasTopEndcap</b></span>(bool <i>hasTopEndcap</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>hasTopEndcapChanged</b></span>(bool <i>hasTopEndcap</i>)</td></tr> </table></div> <!-- @@@hasTopEndcap --> <!-- $$$indexAttribute-prop$$$indexAttribute --> <h3 class="fn" id="indexAttribute-prop"><a name="indexAttribute-prop"></a><span class="name">indexAttribute</span> : <span class="type">Qt3DRender::QAttribute</span>* const</h3> <p>Holds the geometry index attribute.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>indexAttribute</b></span>() const</td></tr> </table></div> <!-- @@@indexAttribute --> <!-- $$$length-prop$$$length$$$setLengthfloat$$$lengthChangedfloat --> <h3 class="fn" id="length-prop"><a name="length-prop"></a><span class="name">length</span> : <span class="type">float</span></h3> <p>Holds the length of the cone.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>length</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLength</b></span>(float <i>length</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>lengthChanged</b></span>(float <i>length</i>)</td></tr> </table></div> <!-- @@@length --> <!-- $$$normalAttribute-prop$$$normalAttribute --> <h3 class="fn" id="normalAttribute-prop"><a name="normalAttribute-prop"></a><span class="name">normalAttribute</span> : <span class="type">Qt3DRender::QAttribute</span>* const</h3> <p>Holds the geometry normal attribute.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>normalAttribute</b></span>() const</td></tr> </table></div> <!-- @@@normalAttribute --> <!-- $$$positionAttribute-prop$$$positionAttribute --> <h3 class="fn" id="positionAttribute-prop"><a name="positionAttribute-prop"></a><span class="name">positionAttribute</span> : <span class="type">Qt3DRender::QAttribute</span>* const</h3> <p>Holds the geometry position attribute.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>positionAttribute</b></span>() const</td></tr> </table></div> <!-- @@@positionAttribute --> <!-- $$$rings-prop$$$rings$$$setRingsint$$$ringsChangedint --> <h3 class="fn" id="rings-prop"><a name="rings-prop"></a><span class="name">rings</span> : <span class="type">int</span></h3> <p>Holds the number of rings in the geometry.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>rings</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRings</b></span>(int <i>rings</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>ringsChanged</b></span>(int <i>rings</i>)</td></tr> </table></div> <!-- @@@rings --> <!-- $$$slices-prop$$$slices$$$setSlicesint$$$slicesChangedint --> <h3 class="fn" id="slices-prop"><a name="slices-prop"></a><span class="name">slices</span> : <span class="type">int</span></h3> <p>Holds the number of slices in the geometry.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>slices</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSlices</b></span>(int <i>slices</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>slicesChanged</b></span>(int <i>slices</i>)</td></tr> </table></div> <!-- @@@slices --> <!-- $$$texCoordAttribute-prop$$$texCoordAttribute --> <h3 class="fn" id="texCoordAttribute-prop"><a name="texCoordAttribute-prop"></a><span class="name">texCoordAttribute</span> : <span class="type">Qt3DRender::QAttribute</span>* const</h3> <p>Holds the geometry texture coordinate attribute.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QAttribute *</td><td class="memItemRight bottomAlign"><span class="name"><b>texCoordAttribute</b></span>() const</td></tr> </table></div> <!-- @@@texCoordAttribute --> <!-- $$$topRadius-prop$$$topRadius$$$setTopRadiusfloat$$$topRadiusChangedfloat --> <h3 class="fn" id="topRadius-prop"><a name="topRadius-prop"></a><span class="name">topRadius</span> : <span class="type">float</span></h3> <p>Holds the top radius of the cone.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>topRadius</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTopRadius</b></span>(float <i>topRadius</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>topRadiusChanged</b></span>(float <i>topRadius</i>)</td></tr> </table></div> <!-- @@@topRadius --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QConeGeometry[overload1]$$$QConeGeometryQt3DCore::QNode* --> <h3 class="fn" id="QConeGeometry"><a name="QConeGeometry"></a>QConeGeometry::<span class="name">QConeGeometry</span>(<span class="type">Qt3DCore::QNode</span> *<i>parent</i> = nullptr)</h3> <p>Default constructs an instance of QConeGeometry.</p><!-- @@@QConeGeometry --> <!-- $$$QConeGeometry$$$QConeGeometryQt3DExtras::QConeGeometryPrivate&Qt3DCore::QNode* --> <h3 class="fn" id="QConeGeometry-1"><a name="QConeGeometry-1"></a><code>[protected] </code>QConeGeometry::<span class="name">QConeGeometry</span>(<span class="type">Qt3DExtras::QConeGeometryPrivate</span> &<i>dd</i>, <span class="type">Qt3DCore::QNode</span> *<i>parent</i> = nullptr)</h3> <p>Default constructs an instance of QConeGeometry.</p><!-- @@@QConeGeometry --> <!-- $$$updateIndices[overload1]$$$updateIndices --> <h3 class="fn" id="updateIndices"><a name="updateIndices"></a><span class="type">void</span> QConeGeometry::<span class="name">updateIndices</span>()</h3> <p>Updates indices based on geometry properties.</p> <!-- @@@updateIndices --> <!-- $$$updateVertices[overload1]$$$updateVertices --> <h3 class="fn" id="updateVertices"><a name="updateVertices"></a><span class="type">void</span> QConeGeometry::<span class="name">updateVertices</span>()</h3> <p>Updates vertices based on geometry properties.</p> <!-- @@@updateVertices --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 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>