[−][src]Struct physx::physics::PhysicsBuilder
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
impl RefUnwindSafe for PhysicsBuilder
impl Send for PhysicsBuilder
impl Sync for PhysicsBuilder
impl Unpin for PhysicsBuilder
impl UnwindSafe for PhysicsBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,