QPlaneGeometry#

The QPlaneGeometry class allows creation of a plane in 3D space. * * * * The QPlaneGeometry class is most commonly used internally by the QPlaneMesh * but can also be used in custom QGeometryRenderer subclasses. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry

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.QPlaneGeometry([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QPlaneGeometry 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.QPlaneGeometry.height: float#

Holds the plane height.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.indexAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute#

Holds the geometry index attribute.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.mirrored: bool#

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

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.normalAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute#

Holds the geometry normal attribute.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.positionAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute#

Holds the geometry position attribute.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.resolution: PySide6.QtCore.QSize#

Holds the plane resolution.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.tangentAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute#

Holds the geometry tangent attribute.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.texCoordAttribute: PySide6.Qt3DCore.Qt3DCore.QAttribute#

Holds the geometry texture coordinate attribute.

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

Holds the plane width.

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

float

See also

setHeight()

Getter of property height .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.heightChanged(height)#
Parameters:

height – float

Notification signal of property height .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.indexAttribute()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QAttribute

Getter of property indexAttribute .

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

bool

See also

setMirrored()

Getter of property mirrored .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.mirroredChanged(mirrored)#
Parameters:

mirrored – bool

Notification signal of property mirrored .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.normalAttribute()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QAttribute

Getter of property normalAttribute .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.positionAttribute()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QAttribute

Getter of property positionAttribute .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.resolution()#
Return type:

PySide6.QtCore.QSize

See also

setResolution()

Getter of property resolution .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.resolutionChanged(resolution)#
Parameters:

resolutionPySide6.QtCore.QSize

Notification signal of property resolution .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.setHeight(height)#
Parameters:

height – float

See also

height()

Setter of property height .

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

mirrored – bool

See also

mirrored()

Setter of property mirrored .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.setResolution(resolution)#
Parameters:

resolutionPySide6.QtCore.QSize

See also

resolution()

Setter of property resolution .

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

width – float

See also

width()

Setter of property width .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.tangentAttribute()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QAttribute

Getter of property tangentAttribute .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.texCoordAttribute()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QAttribute

Getter of property texCoordAttribute .

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.updateIndices()#

Updates indices based on mesh resolution.

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.updateVertices()#

Updates vertices based on mesh resolution, width, and height properties.

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

float

See also

setWidth()

Getter of property width .

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

width – float

Notification signal of property width .