Qt3DExtras.QSphereGeometry

The QSphereGeometry class allows creation of a sphere in 3D space. * * * * * The QSphereGeometry class is most commonly used internally by the QSphereMesh * but can also be used in custom QGeometryRenderer subclasses. More

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry

Synopsis

Functions

Slots

Signals

Detailed Description

* * * *

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

QNode

Constructs a new QSphereGeometry with parent .

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.generateTangents()
Return type

bool

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.generateTangentsChanged(generateTangents)
Parameters

generateTangentsbool

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

QAttribute

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

QAttribute

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

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.radius()
Return type

float

See also

setRadius()

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.radiusChanged(radius)
Parameters

radiusfloat

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

int

See also

setRings()

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

ringsint

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.setGenerateTangents(gen)
Parameters

genbool

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.setRadius(radius)
Parameters

radiusfloat

See also

radius()

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

ringsint

See also

rings()

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

slicesint

See also

slices()

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

int

See also

setSlices()

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

slicesint

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.tangentAttribute()
Return type

QAttribute

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

QAttribute

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.updateIndices()

Updates indices based on rings and slices properties.

PySide2.Qt3DExtras.Qt3DExtras.QSphereGeometry.updateVertices()

Updates vertices based on rings, slices, and radius properties