QCuboidGeometry露

The QCuboidGeometry class allows creation of a cuboid in 3D space. * * * * * The QCuboidGeometry class is most commonly used internally by the QCuboidMesh * but can also be used in custom QGeometryRenderer subclasses. More鈥�

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry

Synopsis露

Functions露

Slots露

Signals露

Detailed Description露

* * * *

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

Constructs a new QCuboidGeometry with parent .

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

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry index attribute.

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

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry normal attribute.

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

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry position attribute.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setXExtent(xExtent)露
Parameters:

xExtent 鈥� float

Holds the x extent of the geometry.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setXYMeshResolution(resolution)露
Parameters:

resolution 鈥� PySide2.QtCore.QSize

Holds the x-y resolution. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setXZMeshResolution(resolution)露
Parameters:

resolution 鈥� PySide2.QtCore.QSize

Holds the x-z resolution. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setYExtent(yExtent)露
Parameters:

yExtent 鈥� float

Holds the y extent of the geometry.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setYZMeshResolution(resolution)露
Parameters:

resolution 鈥� PySide2.QtCore.QSize

Holds the y-z resolution. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.setZExtent(zExtent)露
Parameters:

zExtent 鈥� float

Holds the z extent of the geometry.

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

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry tangent attribute.

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

PySide2.Qt3DRender.Qt3DRender.QAttribute

Holds the geometry texture coordinate attribute.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.updateIndices()露

Updates indices based on mesh resolutions.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.updateVertices()露

Updates vertices based on mesh resolutions.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xExtent()露
Return type:

float

Holds the x extent of the geometry.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xExtentChanged(xExtent)露
Parameters:

xExtent 鈥� float

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xyMeshResolution()露
Return type:

PySide2.QtCore.QSize

Holds the x-y resolution. The width and height values of this property specify the number of vertices generated for the x-y faces of the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xyMeshResolutionChanged(xyMeshResolution)露
Parameters:

xyMeshResolution 鈥� PySide2.QtCore.QSize

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xzMeshResolution()露
Return type:

PySide2.QtCore.QSize

Holds the x-z resolution. The width and height values of this property specify the number of vertices generated for the x-z faces of the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.xzMeshResolutionChanged(xzMeshResolution)露
Parameters:

xzMeshResolution 鈥� PySide2.QtCore.QSize

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yExtent()露
Return type:

float

Holds the y extent of the geometry.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yExtentChanged(yExtent)露
Parameters:

yExtent 鈥� float

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yzMeshResolution()露
Return type:

PySide2.QtCore.QSize

Holds the y-z resolution. The width and height values of this property specify the number of vertices generated for the y-z faces of the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.yzMeshResolutionChanged(yzMeshResolution)露
Parameters:

yzMeshResolution 鈥� PySide2.QtCore.QSize

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.zExtent()露
Return type:

float

Holds the z extent of the geometry.

PySide2.Qt3DExtras.Qt3DExtras.QCuboidGeometry.zExtentChanged(zExtent)露
Parameters:

zExtent 鈥� float