#[repr(i32)]pub enum PxGeometryType {
Show 13 variants
Sphere = 0,
Plane = 1,
Capsule = 2,
Box = 3,
Convexmesh = 4,
Particlesystem = 5,
Tetrahedronmesh = 6,
Trianglemesh = 7,
Heightfield = 8,
Hairsystem = 9,
Custom = 10,
GeometryCount = 11,
Invalid = -1,
}Expand description
A geometry type.
Used to distinguish the type of a ::PxGeometry object.
Variants§
Sphere = 0
Plane = 1
Capsule = 2
Box = 3
Convexmesh = 4
Particlesystem = 5
Tetrahedronmesh = 6
Trianglemesh = 7
Heightfield = 8
Hairsystem = 9
Custom = 10
GeometryCount = 11
internal use only!
Invalid = -1
internal use only!
Trait Implementations§
Source§impl Clone for PxGeometryType
impl Clone for PxGeometryType
Source§fn clone(&self) -> PxGeometryType
fn clone(&self) -> PxGeometryType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PxGeometryType
impl Debug for PxGeometryType
Source§impl PartialEq for PxGeometryType
impl PartialEq for PxGeometryType
impl Copy for PxGeometryType
impl Eq for PxGeometryType
impl StructuralPartialEq for PxGeometryType
Auto Trait Implementations§
impl Freeze for PxGeometryType
impl RefUnwindSafe for PxGeometryType
impl Send for PxGeometryType
impl Sync for PxGeometryType
impl Unpin for PxGeometryType
impl UnwindSafe for PxGeometryType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more