PySide6.Qt3DExtras.Qt3DExtras.QTorusMesh¶
- class QTorusMesh¶
A toroidal mesh. More…
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
minorRadius()
def
radius()
def
rings()
def
slices()
Slots¶
def
setMinorRadius()
def
setRadius()
def
setRings()
def
setSlices()
Signals¶
def
radiusChanged()
def
ringsChanged()
def
slicesChanged()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property minorRadiusᅟ: float¶
Holds the inner radius of the torus.
- Access functions:
- property radiusᅟ: float¶
Holds the outer radius of the torus.
- Access functions:
Signal
radiusChanged()
- property ringsᅟ: int¶
Holds the number of rings in the mesh.
- Access functions:
Signal
ringsChanged()
- property slicesᅟ: int¶
Holds the number of slices in the mesh.
- Access functions:
Signal
slicesChanged()
- __init__([parent=None])¶
- Parameters:
parent –
QNode
Constructs a new
QTorusMesh
withparent
.- minorRadius()¶
- Return type:
float
See also
setMinorRadius()
Getter of property
minorRadiusᅟ
.- minorRadiusChanged(minorRadius)¶
- Parameters:
minorRadius – float
Notification signal of property
minorRadiusᅟ
.- radius()¶
- Return type:
float
See also
setRadius()
Getter of property
radiusᅟ
.- radiusChanged(radius)¶
- Parameters:
radius – float
Notification signal of property
radiusᅟ
.- rings()¶
- Return type:
int
See also
setRings()
Getter of property
ringsᅟ
.- ringsChanged(rings)¶
- Parameters:
rings – int
Notification signal of property
ringsᅟ
.- setMinorRadius(minorRadius)¶
- Parameters:
minorRadius – float
See also
minorRadius()
Setter of property
minorRadiusᅟ
.- setRadius(radius)¶
- Parameters:
radius – float
See also
radius()
Setter of property
radiusᅟ
.- setRings(rings)¶
- Parameters:
rings – int
See also
rings()
Setter of property
ringsᅟ
.- setSlices(slices)¶
- Parameters:
slices – int
See also
slices()
Setter of property
slicesᅟ
.- slices()¶
- Return type:
int
See also
setSlices()
Getter of property
slicesᅟ
.- slicesChanged(slices)¶
- Parameters:
slices – int
Notification signal of property
slicesᅟ
.