内容表

上一话题

Qt3DExtras.QCuboidMesh

下一话题

Qt3DExtras.QCylinderMesh

Qt3DExtras.QCylinderGeometry

QCylinderGeometry class allows creation of a cylinder in 3D space. * * * * * The QCylinderGeometry class is most commonly used internally by the QCylinderMesh * but can also be used in custom QGeometryRenderer 子类。 更多

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry

概要

信号

详细描述

* * * *

class PySide2.Qt3DExtras.Qt3DExtras. QCylinderGeometry ( [ parent=None ] )
param parent

QNode

构造新 QCylinderMesh with parent .

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. indexAttribute ( )
返回类型

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. length ( )
返回类型

float

另请参阅

setLength()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. lengthChanged ( length )
参数

length float

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. normalAttribute ( )
返回类型

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. positionAttribute ( )
返回类型

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. radius ( )
返回类型

float

另请参阅

setRadius()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. radiusChanged ( radius )
参数

radius float

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. rings ( )
返回类型

int

另请参阅

setRings()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. ringsChanged ( rings )
参数

rings int

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. setLength ( length )
参数

length float

另请参阅

length()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. setRadius ( radius )
参数

radius float

另请参阅

radius()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. setRings ( rings )
参数

rings int

另请参阅

rings()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. setSlices ( slices )
参数

slices int

另请参阅

slices()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. slices ( )
返回类型

int

另请参阅

setSlices()

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. slicesChanged ( slices )
参数

slices int

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. texCoordAttribute ( )
返回类型

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. updateIndices ( )

Updates the indices based on rings, slices, and length properties.

PySide2.Qt3DExtras.Qt3DExtras.QCylinderGeometry. updateVertices ( )

Updates the vertices based on rings, slices, and length properties.