Qt3DExtras.QConeGeometry¶
The
QConeGeometry
class allows creation of a cone in 3D space. * * * * * TheQConeGeometry
class is most commonly used internally by theQConeMesh
* but can also be used in customQGeometryRenderer
subclasses. The class * allows for creation of both a cone and a truncated cone. More…
Synopsis¶
Functions¶
def
bottomRadius
()def
hasBottomEndcap
()def
hasTopEndcap
()def
indexAttribute
()def
length
()def
normalAttribute
()def
positionAttribute
()def
rings
()def
slices
()def
texCoordAttribute
()def
topRadius
()def
updateIndices
()def
updateVertices
()
Slots¶
def
setBottomRadius
(bottomRadius)def
setHasBottomEndcap
(hasBottomEndcap)def
setHasTopEndcap
(hasTopEndcap)def
setLength
(length)def
setRings
(rings)def
setSlices
(slices)def
setTopRadius
(topRadius)
Signals¶
def
bottomRadiusChanged
(bottomRadius)def
hasBottomEndcapChanged
(hasBottomEndcap)def
hasTopEndcapChanged
(hasTopEndcap)def
lengthChanged
(length)def
ringsChanged
(rings)def
slicesChanged
(slices)def
topRadiusChanged
(topRadius)
Detailed Description¶
* * * *
-
class
PySide2.Qt3DExtras.Qt3DExtras.
QConeGeometry
([parent=None])¶ - Parameters
parent –
QNode
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
bottomRadius
()¶ - Return type
float
See also
setBottomRadius()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
bottomRadiusChanged
(bottomRadius)¶ - Parameters
bottomRadius –
float
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasBottomEndcap
()¶ - Return type
bool
See also
setHasBottomEndcap()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasBottomEndcapChanged
(hasBottomEndcap)¶ - Parameters
hasBottomEndcap –
bool
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasTopEndcap
()¶ - Return type
bool
See also
setHasTopEndcap()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasTopEndcapChanged
(hasTopEndcap)¶ - Parameters
hasTopEndcap –
bool
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
indexAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
length
()¶ - Return type
float
See also
setLength()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
lengthChanged
(length)¶ - Parameters
length –
float
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
normalAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
positionAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
rings
()¶ - Return type
int
See also
setRings()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
ringsChanged
(rings)¶ - Parameters
rings –
int
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setBottomRadius
(bottomRadius)¶ - Parameters
bottomRadius –
float
See also
bottomRadius()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setHasBottomEndcap
(hasBottomEndcap)¶ - Parameters
hasBottomEndcap –
bool
See also
hasBottomEndcap()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setHasTopEndcap
(hasTopEndcap)¶ - Parameters
hasTopEndcap –
bool
See also
hasTopEndcap()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setLength
(length)¶ - Parameters
length –
float
See also
length()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setRings
(rings)¶ - Parameters
rings –
int
See also
rings()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setSlices
(slices)¶ - Parameters
slices –
int
See also
slices()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setTopRadius
(topRadius)¶ - Parameters
topRadius –
float
See also
topRadius()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
slices
()¶ - Return type
int
See also
setSlices()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
slicesChanged
(slices)¶ - Parameters
slices –
int
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
texCoordAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
topRadius
()¶ - Return type
float
See also
setTopRadius()
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
topRadiusChanged
(topRadius)¶ - Parameters
topRadius –
float
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
updateIndices
()¶ Updates indices based on geometry properties.
-
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
updateVertices
()¶ Updates vertices based on geometry properties.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. 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.