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

Synopsis#

Functions#

Slots#

Signals#

Detailed Description#

* * * *

class PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry([parent=None])#
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QPlaneGeometry with parent.

PySide6.Qt3DExtras.Qt3DExtras.QPlaneGeometry.height()#
Return type

float

Holds the plane height.

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

height – float

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

PySide6.Qt3DCore.Qt3DCore.QAttribute

Holds the geometry index attribute.

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

bool

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

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

mirrored – bool

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

PySide6.Qt3DCore.Qt3DCore.QAttribute

Holds the geometry normal attribute.

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

PySide6.Qt3DCore.Qt3DCore.QAttribute

Holds the geometry position attribute.

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

PySide6.QtCore.QSize

Holds the plane resolution.

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

resolutionPySide6.QtCore.QSize

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

height – float

Holds the plane height.

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

mirrored – bool

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

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

resolutionPySide6.QtCore.QSize

Holds the plane resolution.

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

width – float

Holds the plane width.

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

PySide6.Qt3DCore.Qt3DCore.QAttribute

Holds the geometry tangent attribute.

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

PySide6.Qt3DCore.Qt3DCore.QAttribute

Holds the geometry texture coordinate attribute.

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

Holds the plane width.

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

width – float