Qt3DExtras.QPlaneGeometry¶
The
QPlaneGeometry
class allows creation of a plane in 3D space. * * * * TheQPlaneGeometry
class is most commonly used internally by theQPlaneMesh
* but can also be used in customQGeometryRenderer
subclasses. More…
Synopsis¶
Functions¶
def
height
()def
indexAttribute
()def
mirrored
()def
normalAttribute
()def
positionAttribute
()def
resolution
()def
tangentAttribute
()def
texCoordAttribute
()def
updateIndices
()def
updateVertices
()def
width
()
Slots¶
def
setHeight
(height)def
setMirrored
(mirrored)def
setResolution
(resolution)def
setWidth
(width)
Signals¶
def
heightChanged
(height)def
mirroredChanged
(mirrored)def
resolutionChanged
(resolution)def
widthChanged
(width)
Detailed Description¶
* * * *
-
class
PySide2.Qt3DExtras.Qt3DExtras.
QPlaneGeometry
([parent=None])¶ - param parent
QNode
Constructs a new
QPlaneGeometry
withparent
.
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
height
()¶ - Return type
float
See also
setHeight()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
heightChanged
(height)¶ - Parameters
height –
float
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
indexAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
mirrored
()¶ - Return type
bool
See also
setMirrored()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
mirroredChanged
(mirrored)¶ - Parameters
mirrored –
bool
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
normalAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
positionAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
resolution
()¶ - Return type
QSize
See also
setResolution()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
resolutionChanged
(resolution)¶ - Parameters
resolution –
QSize
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
setHeight
(height)¶ - Parameters
height –
float
See also
height()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
setMirrored
(mirrored)¶ - Parameters
mirrored –
bool
See also
mirrored()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
setResolution
(resolution)¶ - Parameters
resolution –
QSize
See also
resolution()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
setWidth
(width)¶ - Parameters
width –
float
See also
width()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
tangentAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
texCoordAttribute
()¶ - Return type
QAttribute
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
updateIndices
()¶ Updates indices based on mesh resolution.
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
updateVertices
()¶ Updates vertices based on mesh resolution, width, and height properties.
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
width
()¶ - Return type
float
See also
setWidth()
-
PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.
widthChanged
(width)¶ - Parameters
width –
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.