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

Synopsis

Functions

Slots

Signals

Detailed Description

* * * *

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

parentQNode

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

float

See also

setBottomRadius()

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

bottomRadiusfloat

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

bool

See also

setHasBottomEndcap()

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

hasBottomEndcapbool

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

bool

See also

setHasTopEndcap()

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

hasTopEndcapbool

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

QAttribute

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

float

See also

setLength()

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

lengthfloat

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

QAttribute

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

QAttribute

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

int

See also

setRings()

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

ringsint

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

bottomRadiusfloat

See also

bottomRadius()

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

hasBottomEndcapbool

See also

hasBottomEndcap()

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

hasTopEndcapbool

See also

hasTopEndcap()

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

lengthfloat

See also

length()

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

ringsint

See also

rings()

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

slicesint

See also

slices()

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

topRadiusfloat

See also

topRadius()

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

int

See also

setSlices()

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

slicesint

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

QAttribute

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

float

See also

setTopRadius()

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

topRadiusfloat

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.updateIndices()

Updates indices based on geometry properties.

PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.updateVertices()

Updates vertices based on geometry properties.