PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh¶
- class QPlaneMesh¶
A square planar mesh. More…
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
height()
def
meshResolution()
def
mirrored()
def
width()
Slots¶
def
setHeight()
def
setMirrored()
def
setWidth()
Signals¶
def
heightChanged()
def
widthChanged()
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¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property heightᅟ: float¶
Holds the plane height.
- Access functions:
Signal
heightChanged()
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:
- property mirroredᅟ: bool¶
Controls if the UV coordinates of the plane should be flipped vertically.
- Access functions:
- property widthᅟ: float¶
Holds the plane width.
- Access functions:
Signal
widthChanged()
- __init__([parent=None])¶
- Parameters:
parent –
QNode
Constructs a new
QPlaneMesh
withparent
.- height()¶
- Return type:
float
See also
setHeight()
Getter of property
heightᅟ
.- heightChanged(height)¶
- Parameters:
height – float
Notification signal of property
heightᅟ
.Getter of property
meshResolutionᅟ
.Notification signal of property
meshResolutionᅟ
.- mirrored()¶
- Return type:
bool
See also
setMirrored()
Getter of property
mirroredᅟ
.- mirroredChanged(mirrored)¶
- Parameters:
mirrored – bool
Notification signal of property
mirroredᅟ
.- setHeight(height)¶
- Parameters:
height – float
See also
height()
Setter of property
heightᅟ
.Setter of property
meshResolutionᅟ
.- setMirrored(mirrored)¶
- Parameters:
mirrored – bool
See also
mirrored()
Setter of property
mirroredᅟ
.- setWidth(width)¶
- Parameters:
width – float
See also
width()
Setter of property
widthᅟ
.- width()¶
- Return type:
float
See also
setWidth()
Getter of property
widthᅟ
.- widthChanged(width)¶
- Parameters:
width – float
Notification signal of property
widthᅟ
.