[][src]Trait rapier_testbed3d::TestbedPlugin

pub trait TestbedPlugin {
    pub fn init_graphics(
        &mut self,
        window: &mut Window,
        gen_color: &mut dyn FnMut() -> Point3<f32>
    );
pub fn clear_graphics(&mut self, window: &mut Window);
pub fn run_callbacks(
        &mut self,
        window: &mut Window,
        physics: &mut PhysicsState,
        t: f32
    );
pub fn step(&mut self, physics: &mut PhysicsState);
pub fn draw(&mut self);
pub fn profiling_string(&self) -> String; }

Required methods

pub fn init_graphics(
    &mut self,
    window: &mut Window,
    gen_color: &mut dyn FnMut() -> Point3<f32>
)
[src]

pub fn clear_graphics(&mut self, window: &mut Window)[src]

pub fn run_callbacks(
    &mut self,
    window: &mut Window,
    physics: &mut PhysicsState,
    t: f32
)
[src]

pub fn step(&mut self, physics: &mut PhysicsState)[src]

pub fn draw(&mut self)[src]

pub fn profiling_string(&self) -> String[src]

Loading content...

Implementors

Loading content...