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 PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry

Synopsis露

Functions露

Slots露

Signals露

Detailed Description露

* * * *

class PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry([parent=None])露

Constructs a new QPlaneGeometry with parent .

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.height()露
Return type:

float

Holds the plane height.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.heightChanged(height)露
Parameters:

height 鈥� float

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.indexAttribute()露
Return type:

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry index attribute.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.mirrored()露
Return type:

bool

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

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.mirroredChanged(mirrored)露
Parameters:

mirrored 鈥� bool

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.normalAttribute()露
Return type:

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry normal attribute.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.positionAttribute()露
Return type:

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry position attribute.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.resolution()露
Return type:

PySide2.QtCore.QSize

Holds the plane resolution.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.resolutionChanged(resolution)露
Parameters:

resolution 鈥� PySide2.QtCore.QSize

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.setHeight(height)露
Parameters:

height 鈥� float

Holds the plane height.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.setMirrored(mirrored)露
Parameters:

mirrored 鈥� bool

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

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.setResolution(resolution)露
Parameters:

resolution 鈥� PySide2.QtCore.QSize

Holds the plane resolution.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.setWidth(width)露
Parameters:

width 鈥� float

Holds the plane width.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.tangentAttribute()露
Return type:

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry tangent attribute.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.texCoordAttribute()露
Return type:

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry texture coordinate attribute.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.updateIndices()露

Updates indices based on mesh resolution.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.updateVertices()露

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

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.width()露
Return type:

float

Holds the plane width.

PySide2.Qt3DExtras.Qt3DExtras.QPlaneGeometry.widthChanged(width)露
Parameters:

width 鈥� float