PySide6.Qt3DRender.Qt3DRender.QLevelOfDetailBoundingSphere¶
- class QLevelOfDetailBoundingSphere¶
The
QLevelOfDetailBoundingSphere
class provides a simple spherical volume, defined by its center and radius. More…Synopsis¶
Properties¶
Methods¶
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.Specifies the center of the bounding sphere
- Access functions:
- property radiusᅟ: float¶
Specifies the radius of the bounding sphere
- Access functions:
- __init__(other)¶
- Parameters:
other –
QLevelOfDetailBoundingSphere
- __init__([center=list()[, radius=1.0f]])
- Parameters:
center –
QVector3D
radius – float
Constructs a new
QLevelOfDetailBoundingSphere
with the specifiedcenter
andradius
.Getter of property
centerᅟ
.- isEmpty()¶
- Return type:
bool
- __ne__(other)¶
- Parameters:
other –
QLevelOfDetailBoundingSphere
- Return type:
bool
- __eq__(other)¶
- Parameters:
other –
QLevelOfDetailBoundingSphere
- Return type:
bool
- radius()¶
- Return type:
float
Getter of property
radiusᅟ
.