QPlaneMesh#

A square planar mesh. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh

Synopsis#

Properties#

Functions#

Slots#

Signals#

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:

parentPySide6.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:
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:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirrored: bool#

Controls if the UV coordinates of the plane should be flipped vertically.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.width: float#

Holds the plane width.

Access functions:
PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.height()#
Return type:

float

See also

setHeight()

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:

PySide6.QtCore.QSize

Getter of property meshResolution .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.meshResolutionChanged(meshResolution)#
Parameters:

meshResolutionPySide6.QtCore.QSize

Notification signal of property meshResolution .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.mirrored()#
Return type:

bool

See also

setMirrored()

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

height()

Setter of property height .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setMeshResolution(resolution)#
Parameters:

resolutionPySide6.QtCore.QSize

See also

meshResolution()

Setter of property meshResolution .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setMirrored(mirrored)#
Parameters:

mirrored – bool

See also

mirrored()

Setter of property mirrored .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.setWidth(width)#
Parameters:

width – float

See also

width()

Setter of property width .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.width()#
Return type:

float

See also

setWidth()

Getter of property width .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneMesh.widthChanged(width)#
Parameters:

width – float

Notification signal of property width .