QPlaneMesh#
A square planar mesh. More…
Synopsis#
Functions#
def
height
()def
meshResolution
()def
mirrored
()def
width
()
Slots#
def
setHeight
(height)def
setMeshResolution
(resolution)def
setMirrored
(mirrored)def
setWidth
(width)
Signals#
def
heightChanged
(height)def
meshResolutionChanged
(meshResolution)def
mirroredChanged
(mirrored)def
widthChanged
(width)
Detailed Description#
* * * * * * *
- class PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh([parent=None])#
- Parameters
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QPlaneMesh
with parent
.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.height()#
- Return type
float
Holds the plane height.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.heightChanged(height)#
- Parameters
height – float
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.meshResolution()#
- Return type
Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.meshResolutionChanged(meshResolution)#
- Parameters
meshResolution –
PySide6.QtCore.QSize
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirrored()#
- Return type
bool
Controls if the UV coordinates of the plane should be flipped vertically.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirroredChanged(mirrored)#
- Parameters
mirrored – bool
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setHeight(height)#
- Parameters
height – float
Holds the plane height.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setMeshResolution(resolution)#
- Parameters
resolution –
PySide6.QtCore.QSize
Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setMirrored(mirrored)#
- Parameters
mirrored – bool
Controls if the UV coordinates of the plane should be flipped vertically.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setWidth(width)#
- Parameters
width – float
Holds the plane width.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.width()#
- Return type
float
Holds the plane width.
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.widthChanged(width)#
- Parameters
width – float