QSphereGeometryView¶
A spherical mesh. More…
Synopsis¶
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)
Detailed Description¶
* * * * * * *
- class PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView([parent=None])¶
- Parameters
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QSphereGeometryView
with parent
.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.generateTangents()¶
- Return type
bool
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.generateTangentsChanged(generateTangents)¶
- Parameters
generateTangents – bool
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.radius()¶
- Return type
float
Holds the radius of the sphere.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.radiusChanged(radius)¶
- Parameters
radius – float
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.rings()¶
- Return type
int
Holds the number of rings in the mesh.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.ringsChanged(rings)¶
- Parameters
rings – int
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setGenerateTangents(gen)¶
- Parameters
gen – bool
Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setRadius(radius)¶
- Parameters
radius – float
Holds the radius of the sphere.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setRings(rings)¶
- Parameters
rings – int
Holds the number of rings in the mesh.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.setSlices(slices)¶
- Parameters
slices – int
Holds the number of slices in the mesh.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.slices()¶
- Return type
int
Holds the number of slices in the mesh.
- PySide6.Qt3DExtras.Qt3DExtras.QSphereGeometryView.slicesChanged(slices)¶
- Parameters
slices – int
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.