#[repr(i32)]pub enum ShapeType {
Capsule = 0,
Compound = 1,
Height = 2,
Hull = 3,
Mesh = 4,
Sphere = 5,
}Expand description
Shape type. (b3ShapeType)
Variants§
Capsule = 0
A capsule is an extruded sphere.
Compound = 1
A baked compound shape.
Height = 2
A height field useful for terrain.
Hull = 3
A convex hull.
Mesh = 4
A triangle soup.
Sphere = 5
A sphere with an offset.
Trait Implementations§
impl Copy for ShapeType
impl Eq for ShapeType
impl StructuralPartialEq for ShapeType
Auto Trait Implementations§
impl Freeze for ShapeType
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnsafeUnpin for ShapeType
impl UnwindSafe for ShapeType
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