QPlaneMesh#
A square planar mesh. More…
Synopsis#
Properties#
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)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
* * * * * * *
- class PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QPlaneMesh with parent.
Note
Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.height: float#
Holds the plane height.
- Access functions:
height()setHeight(height)Signal
heightChanged(height)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.meshResolution: 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.
- Access functions:
setMeshResolution(resolution)Signal
meshResolutionChanged(meshResolution)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirrored: bool#
Controls if the UV coordinates of the plane should be flipped vertically.
- Access functions:
mirrored()setMirrored(mirrored)Signal
mirroredChanged(mirrored)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.width: float#
Holds the plane width.
- Access functions:
width()setWidth(width)Signal
widthChanged(width)
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.height()#
- Return type:
float
See also
Getter of property height .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.heightChanged(height)#
- Parameters:
height – float
Notification signal of property height .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.meshResolution()#
- Return type:
See also
Getter of property meshResolution .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.meshResolutionChanged(meshResolution)#
- Parameters:
meshResolution –
PySide6.QtCore.QSize
Notification signal of property meshResolution .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirrored()#
- Return type:
bool
See also
Getter of property mirrored .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirroredChanged(mirrored)#
- Parameters:
mirrored – bool
Notification signal of property mirrored .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setHeight(height)#
- Parameters:
height – float
See also
Setter of property height .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setMeshResolution(resolution)#
- Parameters:
resolution –
PySide6.QtCore.QSize
See also
Setter of property meshResolution .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setMirrored(mirrored)#
- Parameters:
mirrored – bool
See also
Setter of property mirrored .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setWidth(width)#
- Parameters:
width – float
See also
Setter of property width .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.width()#
- Return type:
float
See also
Getter of property width .
- PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.widthChanged(width)#
- Parameters:
width – float
Notification signal of property width .