QTorusGeometry露
- PyQt5.Qt3DExtras.QTorusGeometry
Inherits from QGeometry.
Description露
* * * *
The QTorusGeometry class allows creation of a torus in 3D space. * * * * * The QTorusGeometry class is most commonly used internally by the QTorusMesh * but can also be used in custom QGeometryRenderer subclasses.
Methods露
- __init__(parent: QNode = None)
Constructs a new QTorusGeometry with parent.
- indexAttribute() → QAttribute
TODO
- minorRadius() → float
See also
- normalAttribute() → QAttribute
TODO
- positionAttribute() → QAttribute
TODO
- radius() → float
See also
- rings() → int
See also
- setMinorRadius(float)
See also
- setRadius(float)
See also
- setRings(int)
See also
- setSlices(int)
See also
- slices() → int
See also
- texCoordAttribute() → QAttribute
TODO
- updateIndices()
Updates indices based on rings and slices properties.
- updateVertices()
Updates vertices based on rings, slices, and radius properties.
Signals露
- minorRadiusChanged(float)
TODO
- radiusChanged(float)
TODO
- ringsChanged(int)
TODO
- slicesChanged(int)
TODO