[][src]Struct physx::physics::PhysicsBuilder

pub struct PhysicsBuilder { /* fields omitted */ }

Implementations

impl PhysicsBuilder[src]

pub fn enable_visual_debugger(&mut self, enable: bool) -> &mut Self[src]

pub fn set_length_tolerance(&mut self, length: f32) -> &mut Self[src]

Set the tolerance scale for lengths in the simulation. This should be approximately the ratio between the scale of simulation and one meter. For example, if a regular simulation object is 1 centimeter 100 is a good scale here.

Default: 1.0

pub fn set_speed_tolerance(&mut self, speed: f32) -> &mut Self[src]

Set the tolerance scale for speeds in the simulation. This should be approximately the magnitude of speeds of simulation objects.

Default: 1.0

pub fn load_extensions(&mut self, load: bool) -> &mut Self[src]

pub fn build(&self, foundation: &mut Foundation) -> Physics[src]

Trait Implementations

impl Default for PhysicsBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.