Trait physx::simulation_event_callback::WakeSleepCallback [−][src]
pub trait WakeSleepCallback<L: ArticulationLink, S: RigidStatic, D: RigidDynamic>: Sized { fn on_wake_sleep(&mut self, actors: &[&ActorMap<L, S, D>], is_waking: bool); }
Expand description
A trait for onWake()
and onSleep()
callbacks. Parametrized by the ArticulationLink
,
RigidStatic
, and RigidDynamic
types of the scene it is in.