QSphereGeometry露
- PyQt5.Qt3DExtras.QSphereGeometry
Inherits from QGeometry.
Description露
* * * *
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.
Methods露
- __init__(parent: QNode = None)
Constructs a new QSphereGeometry with parent.
- generateTangents() → bool
See also
- indexAttribute() → QAttribute
TODO
- normalAttribute() → QAttribute
TODO
- positionAttribute() → QAttribute
TODO
- radius() → float
See also
- rings() → int
See also
- setGenerateTangents(bool)
See also
- setRadius(float)
See also
- setRings(int)
See also
- setSlices(int)
See also
- slices() → int
See also
- tangentAttribute() → QAttribute
TODO
- texCoordAttribute() → QAttribute
TODO
- updateIndices()
Updates indices based on rings and slices properties.
- updateVertices()
Updates vertices based on rings, slices, and radius properties
Signals露
- generateTangentsChanged(bool)
TODO
- radiusChanged(float)
TODO
- ringsChanged(int)
TODO
- slicesChanged(int)
TODO