内容表

上一话题

Qt3DExtras.QAbstractSpriteSheet

下一话题

Qt3DExtras.QConeMesh

Qt3DExtras.QConeGeometry

QConeGeometry class allows creation of a cone in 3D space. * * * * * The QConeGeometry class is most commonly used internally by the QConeMesh * but can also be used in custom QGeometryRenderer subclasses. The class * allows for creation of both a cone and a truncated cone. 更多

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry

概要

信号

详细描述

* * * *

class PySide2.Qt3DExtras.Qt3DExtras. QConeGeometry ( [ parent=None ] )
参数

parent QNode

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. bottomRadius ( )
返回类型

float

另请参阅

setBottomRadius()

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. bottomRadiusChanged ( bottomRadius )
参数

bottomRadius float

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. hasBottomEndcap ( )
返回类型

bool

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. hasBottomEndcapChanged ( hasBottomEndcap )
参数

hasBottomEndcap bool

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. hasTopEndcap ( )
返回类型

bool

另请参阅

setHasTopEndcap()

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. hasTopEndcapChanged ( hasTopEndcap )
参数

hasTopEndcap bool

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

QAttribute

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

float

另请参阅

setLength()

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

length float

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

QAttribute

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

QAttribute

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

int

另请参阅

setRings()

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

rings int

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. setBottomRadius ( bottomRadius )
参数

bottomRadius float

另请参阅

bottomRadius()

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. setHasBottomEndcap ( hasBottomEndcap )
参数

hasBottomEndcap bool

另请参阅

hasBottomEndcap()

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. setHasTopEndcap ( hasTopEndcap )
参数

hasTopEndcap bool

另请参阅

hasTopEndcap()

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

length float

另请参阅

length()

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

rings int

另请参阅

rings()

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

slices int

另请参阅

slices()

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. setTopRadius ( topRadius )
参数

topRadius float

另请参阅

topRadius()

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

int

另请参阅

setSlices()

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

slices int

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

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. topRadius ( )
返回类型

float

另请参阅

setTopRadius()

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. topRadiusChanged ( topRadius )
参数

topRadius float

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. updateIndices ( )

Updates indices based on geometry properties.

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry. updateVertices ( )

Updates vertices based on geometry properties.