QConeGeometry

The 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. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry

Synopsis

Functions

Detailed Description

* * * *

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

parentPySide6.Qt3DCore.Qt3DCore.QNode

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.bottomRadius()
Return type

float

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.bottomRadiusChanged(bottomRadius)
Parameters

bottomRadius – float

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.hasBottomEndcap()
Return type

bool

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.hasBottomEndcapChanged(hasBottomEndcap)
Parameters

hasBottomEndcap – bool

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.hasTopEndcap()
Return type

bool

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.hasTopEndcapChanged(hasTopEndcap)
Parameters

hasTopEndcap – bool

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.indexAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.length()
Return type

float

See also

setLength()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.lengthChanged(length)
Parameters

length – float

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.normalAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.positionAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.rings()
Return type

int

See also

setRings()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.ringsChanged(rings)
Parameters

rings – int

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setBottomRadius(bottomRadius)
Parameters

bottomRadius – float

See also

bottomRadius()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setHasBottomEndcap(hasBottomEndcap)
Parameters

hasBottomEndcap – bool

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setHasTopEndcap(hasTopEndcap)
Parameters

hasTopEndcap – bool

See also

hasTopEndcap()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setLength(length)
Parameters

length – float

See also

length()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setRings(rings)
Parameters

rings – int

See also

rings()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setSlices(slices)
Parameters

slices – int

See also

slices()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.setTopRadius(topRadius)
Parameters

topRadius – float

See also

topRadius()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.slices()
Return type

int

See also

setSlices()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.slicesChanged(slices)
Parameters

slices – int

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.texCoordAttribute()
Return type

PySide6.Qt3DCore.Qt3DCore.QAttribute

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.topRadius()
Return type

float

See also

setTopRadius()

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.topRadiusChanged(topRadius)
Parameters

topRadius – float

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.updateIndices()

Updates indices based on geometry properties.

PySide6.Qt3DExtras.Qt3DExtras.QConeGeometry.updateVertices()

Updates vertices based on geometry properties.