QSphereGeometryView#
A spherical mesh. More…
Synopsis#
Properties#
Functions#
def
generateTangents()def
radius()def
rings()def
slices()
Slots#
def
setGenerateTangents(gen)def
setRadius(radius)def
setRings(rings)def
setSlices(slices)
Signals#
def
generateTangentsChanged(generateTangents)def
radiusChanged(radius)def
ringsChanged(rings)def
slicesChanged(slices)
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#
* * * * * * *
- class PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QSphereGeometryView with parent.
Note
Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.generateTangents: bool#
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
- Access functions:
setGenerateTangents(gen)Signal
generateTangentsChanged(generateTangents)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.radius: float#
Holds the radius of the sphere.
- Access functions:
radius()setRadius(radius)Signal
radiusChanged(radius)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.rings: int#
Holds the number of rings in the mesh.
- Access functions:
rings()setRings(rings)Signal
ringsChanged(rings)
- property PᅟySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.slices: int#
Holds the number of slices in the mesh.
- Access functions:
slices()setSlices(slices)Signal
slicesChanged(slices)
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.generateTangents()#
- Return type:
bool
See also
Getter of property generateTangents .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.generateTangentsChanged(generateTangents)#
- Parameters:
generateTangents – bool
Notification signal of property generateTangents .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.radius()#
- Return type:
float
See also
Getter of property radius .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.radiusChanged(radius)#
- Parameters:
radius – float
Notification signal of property radius .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.rings()#
- Return type:
int
See also
Getter of property rings .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.ringsChanged(rings)#
- Parameters:
rings – int
Notification signal of property rings .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setGenerateTangents(gen)#
- Parameters:
gen – bool
See also
Setter of property generateTangents .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setRadius(radius)#
- Parameters:
radius – float
See also
Setter of property radius .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setRings(rings)#
- Parameters:
rings – int
See also
Setter of property rings .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setSlices(slices)#
- Parameters:
slices – int
See also
Setter of property slices .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.slices()#
- Return type:
int
See also
Getter of property slices .
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.slicesChanged(slices)#
- Parameters:
slices – int
Notification signal of property slices .