[−][src]Struct qt_3d_render::QLevelOfDetailBoundingSphere
The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius.
C++ class: Qt3DRender::QLevelOfDetailBoundingSphere
.
The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius.
Methods
impl QLevelOfDetailBoundingSphere
[src]
pub unsafe fn center(&self) -> CppBox<QVector3D>
[src]
Specifies the center of the bounding sphere
Calls C++ function: QVector3D Qt3DRender::QLevelOfDetailBoundingSphere::center() const
.
Specifies the center of the bounding sphere
Access functions:
QVector3D | center() const |
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QLevelOfDetailBoundingSphere>>
) -> Ref<QLevelOfDetailBoundingSphere>
[src]
&self,
other: impl CastInto<Ref<QLevelOfDetailBoundingSphere>>
) -> Ref<QLevelOfDetailBoundingSphere>
Copy-assignment operator.
Calls C++ function: Qt3DRender::QLevelOfDetailBoundingSphere& Qt3DRender::QLevelOfDetailBoundingSphere::operator=(const Qt3DRender::QLevelOfDetailBoundingSphere& other)
.
Copy-assignment operator.
pub unsafe fn is_empty(&self) -> bool
[src]
Calls C++ function: bool Qt3DRender::QLevelOfDetailBoundingSphere::isEmpty() const
.
pub unsafe fn new_2a(
center: impl CastInto<Ref<QVector3D>>,
radius: c_float
) -> CppBox<QLevelOfDetailBoundingSphere>
[src]
center: impl CastInto<Ref<QVector3D>>,
radius: c_float
) -> CppBox<QLevelOfDetailBoundingSphere>
Default constructs an instance of QLevelOfDetailBoundingSphere.
Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(QVector3D center = …, float radius = …)
.
Default constructs an instance of QLevelOfDetailBoundingSphere.
pub unsafe fn new_0a() -> CppBox<QLevelOfDetailBoundingSphere>
[src]
The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius.
Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere()
.
The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius.
pub unsafe fn new_1a(
center: impl CastInto<Ref<QVector3D>>
) -> CppBox<QLevelOfDetailBoundingSphere>
[src]
center: impl CastInto<Ref<QVector3D>>
) -> CppBox<QLevelOfDetailBoundingSphere>
Default constructs an instance of QLevelOfDetailBoundingSphere.
Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(QVector3D center = …)
.
Default constructs an instance of QLevelOfDetailBoundingSphere.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QLevelOfDetailBoundingSphere>>
) -> CppBox<QLevelOfDetailBoundingSphere>
[src]
other: impl CastInto<Ref<QLevelOfDetailBoundingSphere>>
) -> CppBox<QLevelOfDetailBoundingSphere>
Copy constructor.
Calls C++ function: [constructor] void Qt3DRender::QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(const Qt3DRender::QLevelOfDetailBoundingSphere& other)
.
Copy constructor.
pub unsafe fn radius(&self) -> c_float
[src]
Specifies the radius of the bounding sphere
Calls C++ function: float Qt3DRender::QLevelOfDetailBoundingSphere::radius() const
.
Specifies the radius of the bounding sphere
Access functions:
float | radius() const |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
Trait Implementations
impl CppDeletable for QLevelOfDetailBoundingSphere
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of QLevelOfDetailBoundingSphere.
Calls C++ function: [destructor] void Qt3DRender::QLevelOfDetailBoundingSphere::~QLevelOfDetailBoundingSphere()
.
Destroys the instance of QLevelOfDetailBoundingSphere.
impl PartialEq<Ref<QLevelOfDetailBoundingSphere>> for QLevelOfDetailBoundingSphere
[src]
Auto Trait Implementations
impl RefUnwindSafe for QLevelOfDetailBoundingSphere
impl Send for QLevelOfDetailBoundingSphere
impl Sync for QLevelOfDetailBoundingSphere
impl Unpin for QLevelOfDetailBoundingSphere
impl UnwindSafe for QLevelOfDetailBoundingSphere
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,