#[repr(transparent)]pub struct Bvh { /* private fields */ }
Implementations§
source§impl Bvh
impl Bvh
sourcepub fn get_bounds(&self) -> &[PxBounds3]
pub fn get_bounds(&self) -> &[PxBounds3]
Get the bounds in the BvhStructure.
sourcepub fn get_nb_bounds(&self) -> u32
pub fn get_nb_bounds(&self) -> u32
Get the number of bounds in the BvhStructure.
Trait Implementations§
source§impl Class<PxBVH> for Bvh
impl Class<PxBVH> for Bvh
source§fn as_ptr(&self) -> *const PxBVH
fn as_ptr(&self) -> *const PxBVH
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§fn as_mut_ptr(&mut self) -> *mut PxBVH
fn as_mut_ptr(&mut self) -> *mut PxBVH
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§impl Class<PxBase> for Bvh
impl Class<PxBase> for Bvh
source§fn as_ptr(&self) -> *const PxBase
fn as_ptr(&self) -> *const PxBase
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§fn as_mut_ptr(&mut self) -> *mut PxBase
fn as_mut_ptr(&mut self) -> *mut PxBase
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
impl Send for Bvh
impl Sync for Bvh
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> Base for Twhere
T: Class<PxBase>,
impl<T> Base for Twhere T: Class<PxBase>,
source§fn get_concrete_type_name(&self) -> Option<&str>
fn get_concrete_type_name(&self) -> Option<&str>
Get the name of the real type referenced by this pointer, or None if the returned string is not valid
source§fn get_concrete_type(&self) -> ConcreteType
fn get_concrete_type(&self) -> ConcreteType
Returns an enumerated value identifying the type. Read more
source§fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
Set or unset the specified flag on this object.
source§fn set_base_flags(&mut self, in_flags: BaseFlags)
fn set_base_flags(&mut self, in_flags: BaseFlags)
Set the BaseFlags of this object. Note that replaces all flags currently
on the object. Use
set_base_flag
to set individual flags.source§fn get_base_flags(&self) -> BaseFlags
fn get_base_flags(&self) -> BaseFlags
Read the BaseFlags of this object
source§fn is_releasable(&self) -> bool
fn is_releasable(&self) -> bool
Returns true if this object can be released, i.e., it is not subordinate.