Qt3DExtras.QCuboidGeometry¶
The
QCuboidGeometry
class allows creation of a cuboid in 3D space. * * * * * TheQCuboidGeometry
class is most commonly used internally by theQCuboidMesh
* but can also be used in customQGeometryRenderer
subclasses. More…
Synopsis¶
Functions¶
def
indexAttribute
()def
normalAttribute
()def
positionAttribute
()def
tangentAttribute
()def
texCoordAttribute
()def
updateIndices
()def
updateVertices
()def
xExtent
()def
xyMeshResolution
()def
xzMeshResolution
()def
yExtent
()def
yzMeshResolution
()def
zExtent
()
Slots¶
def
setXExtent
(xExtent)def
setXYMeshResolution
(resolution)def
setXZMeshResolution
(resolution)def
setYExtent
(yExtent)def
setYZMeshResolution
(resolution)def
setZExtent
(zExtent)
Signals¶
def
xExtentChanged
(xExtent)def
xyMeshResolutionChanged
(xyMeshResolution)def
xzMeshResolutionChanged
(xzMeshResolution)def
yExtentChanged
(yExtent)def
yzMeshResolutionChanged
(yzMeshResolution)def
zExtentChanged
(zExtent)
Detailed Description¶
* * * *
-
class
PySide2.Qt3DExtras.Qt3DExtras.
QCuboidGeometry
([parent=None])¶ - param parent
QNode
Constructs a new
QCuboidGeometry
withparent
.
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
indexAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
normalAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
positionAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
setXExtent
(xExtent)¶ - Parameters
xExtent –
float
See also
xExtent()
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
setXYMeshResolution
(resolution)¶ - Parameters
resolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
setXZMeshResolution
(resolution)¶ - Parameters
resolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
setYExtent
(yExtent)¶ - Parameters
yExtent –
float
See also
yExtent()
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
setYZMeshResolution
(resolution)¶ - Parameters
resolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
setZExtent
(zExtent)¶ - Parameters
zExtent –
float
See also
zExtent()
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
tangentAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
texCoordAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
updateIndices
()¶ Updates indices based on mesh resolutions.
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
updateVertices
()¶ Updates vertices based on mesh resolutions.
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
xExtent
()¶ - Return type
float
See also
setXExtent()
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
xExtentChanged
(xExtent)¶ - Parameters
xExtent –
float
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
xyMeshResolution
()¶ - Return type
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
xyMeshResolutionChanged
(xyMeshResolution)¶ - Parameters
xyMeshResolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
xzMeshResolution
()¶ - Return type
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
xzMeshResolutionChanged
(xzMeshResolution)¶ - Parameters
xzMeshResolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
yExtent
()¶ - Return type
float
See also
setYExtent()
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
yExtentChanged
(yExtent)¶ - Parameters
yExtent –
float
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
yzMeshResolution
()¶ - Return type
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
yzMeshResolutionChanged
(yzMeshResolution)¶ - Parameters
yzMeshResolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
zExtent
()¶ - Return type
float
See also
setZExtent()
-
PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.
zExtentChanged
(zExtent)¶ - Parameters
zExtent –
float
© 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.