QLevelOfDetailBoundingSphere#
The QLevelOfDetailBoundingSphere
class provides a simple spherical volume, defined by its center and radius. More…
Synopsis#
Properties#
Functions#
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.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere([center=list()[, radius=1.0f]])#
PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere(other)
- Parameters:
other –
PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere
radius – float
center –
PySide6.QtGui.QVector3D
Constructs a new QLevelOfDetailBoundingSphere
with the specified center
and radius
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.center: PySide6.QtGui.QVector3D#
Specifies the center of the bounding sphere
- Access functions:
center
()
- property PᅟySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.radius: float#
Specifies the radius of the bounding sphere
- Access functions:
radius
()
- PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.center()#
- Return type:
Getter of property center
.
- PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.isEmpty()#
- Return type:
bool
- PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.__ne__(other)#
- Parameters:
other –
PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere
- Return type:
bool
- PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.__eq__(other)#
- Parameters:
other –
PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere
- Return type:
bool
- PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere.radius()#
- Return type:
float
Getter of property radius
.