[][src]Enum newton::collision::Params

pub enum Params<'a> {
    Cuboid {
        dx: f32,
        dy: f32,
        dz: f32,
    },
    UserMesh {},
    Sphere {
        radius: f32,
    },
    Cylinder {
        radius0: f32,
        radius1: f32,
        height: f32,
    },
    ChamferCylinder {
        radius: f32,
        height: f32,
    },
    Capsule {
        radius0: f32,
        radius1: f32,
        height: f32,
    },
    Cone {
        radius: f32,
        height: f32,
    },
    Compound {
        children_count: usize,
    },
    FracturedCompound {},
    Tree {
        vertex_count: usize,
        index_count: usize,
    },
    Scene {
        children_proxy_count: usize,
    },
    ConvexHull {},
    Null {},
    DeformableSolid {},
    MassSpringDamperSystem {},
    HeightFieldF32(HeightFieldParams<'a, f32>),
    HeightFieldU16(HeightFieldParams<'a, u16>),
}

Collision params

Variants

Cuboid

Fields of Cuboid

dx: f32dy: f32dz: f32
UserMesh

Fields of UserMesh

Sphere

Fields of Sphere

radius: f32
Cylinder

Fields of Cylinder

radius0: f32radius1: f32height: f32
ChamferCylinder

Fields of ChamferCylinder

radius: f32height: f32
Capsule

Fields of Capsule

radius0: f32radius1: f32height: f32
Cone

Fields of Cone

radius: f32height: f32
Compound

Fields of Compound

children_count: usize
FracturedCompound

Fields of FracturedCompound

Tree

Fields of Tree

vertex_count: usizeindex_count: usize
Scene

Fields of Scene

children_proxy_count: usize
ConvexHull

Fields of ConvexHull

Null

Fields of Null

DeformableSolid

Fields of DeformableSolid

MassSpringDamperSystem

Fields of MassSpringDamperSystem

HeightFieldF32(HeightFieldParams<'a, f32>)HeightFieldU16(HeightFieldParams<'a, u16>)

Trait Implementations

impl<'a> PartialEq<Params<'a>> for Params<'a>[src]

impl<'a> Clone for Params<'a>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for Params<'a>[src]

impl<'a> Debug for Params<'a>[src]

Auto Trait Implementations

impl<'a> Send for Params<'a>

impl<'a> Sync for Params<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]