Struct physx::scene::PxScene [−][src]
A new type wrapper for PxScene. Parametrized by it's user data type, the ArticulationLink, RigidStatic, and RigidDynamic actors, Articulation, and ArticulationReducedCoordinate articulations, and Collision, Trigger, ConstraintBreak, WakeSleep and Advance Callbacks. Due to the number of generic type parameters, creating a type alias is recommended.
Trait Implementations
impl<P, U, L, S, D, T, C, OC, OT, OCB, OWS, OA> Class<P> for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
PxScene: Class<P>,
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
OC: CollisionCallback,
OT: TriggerCallback,
OCB: ConstraintBreakCallback,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
[src]
PxScene: Class<P>,
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
OC: CollisionCallback,
OT: TriggerCallback,
OCB: ConstraintBreakCallback,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> Drop for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
OC: CollisionCallback,
OT: TriggerCallback,
OCB: ConstraintBreakCallback,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
[src]
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
OC: CollisionCallback,
OT: TriggerCallback,
OCB: ConstraintBreakCallback,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> Scene for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
OC: CollisionCallback,
OT: TriggerCallback,
OCB: ConstraintBreakCallback,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
[src]
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
OC: CollisionCallback,
OT: TriggerCallback,
OCB: ConstraintBreakCallback,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
type ArticulationLink = L
type RigidStatic = S
type RigidDynamic = D
type Articulation = T
type ArticulationReducedCoordinate = C
type ActorMap = ActorMap<L, S, D>
type ArticulationMap = ArticulationMap<T, C>
type Aggregate = PxAggregate<L, S, D, T, C>
unsafe fn from_raw(ptr: *mut PxScene) -> Option<Owner<Self>>
[src]
fn get_user_data(&self) -> &Self::UserData
[src]
fn get_user_data_mut(&mut self) -> *mut Self::UserData
[src]
fn get_pvd_client(&mut self) -> Option<&mut PvdSceneClient>
[src]
fn create_controller_manager<C: Controller>(
&mut self,
locking_enabled: bool
) -> Option<Owner<PxControllerManager<C>>>
[src]
&mut self,
locking_enabled: bool
) -> Option<Owner<PxControllerManager<C>>>
fn add_dynamic_actor(&mut self, actor: Owner<Self::RigidDynamic>)
[src]
fn add_dynamic_actors(&mut self, actors: Vec<Owner<Self::RigidDynamic>>)
[src]
fn add_static_actor(&mut self, actor: Owner<Self::RigidStatic>)
[src]
fn add_static_actors(&mut self, actors: Vec<Owner<Self::RigidStatic>>)
[src]
fn add_articulation_link(&mut self, actor: Owner<Self::ArticulationLink>)
[src]
fn add_articulation_links(&mut self, actors: Vec<Owner<Self::ArticulationLink>>)
[src]
fn remove_actor(&mut self, actor: &mut impl Actor, wake_touching: bool)
[src]
fn remove_actors(&mut self, actors: Vec<&mut impl Actor>, wake_touching: bool)
[src]
fn add_articulation(&mut self, articulation: Owner<impl ArticulationBase>)
[src]
fn remove_articulation(
&mut self,
articulation: &mut impl ArticulationBase,
wake_touching: bool
)
[src]
&mut self,
articulation: &mut impl ArticulationBase,
wake_touching: bool
)
fn add_aggregate(&mut self, aggregate: Owner<Self::Aggregate>)
[src]
fn remove_aggregate(
&mut self,
aggregate: &mut Self::Aggregate,
wake_touching: bool
)
[src]
&mut self,
aggregate: &mut Self::Aggregate,
wake_touching: bool
)
fn add_pruning_structure(&mut self, pruning_structure: Owner<PruningStructure>)
[src]
fn simulate(
&mut self,
time_step: f32,
completion_task: Option<&mut PxBaseTask>,
scratch: Option<&mut ScratchBuffer>
)
[src]
&mut self,
time_step: f32,
completion_task: Option<&mut PxBaseTask>,
scratch: Option<&mut ScratchBuffer>
)
fn fetch_results(&mut self, block: bool) -> Result<(), u32>
[src]
fn step(
&mut self,
time_step: f32,
completion_task: Option<&mut PxBaseTask>,
scratch: Option<&mut ScratchBuffer>,
block: bool
) -> Result<(), u32>
[src]
&mut self,
time_step: f32,
completion_task: Option<&mut PxBaseTask>,
scratch: Option<&mut ScratchBuffer>,
block: bool
) -> Result<(), u32>
fn get_static_structure(&self) -> PruningStructureType
[src]
fn get_dynamic_structure(&self) -> PruningStructureType
[src]
fn flush_query_updates(&mut self)
[src]
fn get_articulations(&mut self) -> Vec<&mut Self::ArticulationMap>
[src]
fn get_actors(&mut self, actor_type: ActorTypeFlags) -> Vec<&mut Self::ActorMap>
[src]
fn get_active_actors(&mut self) -> &mut [&mut Self::ActorMap]
[src]
fn get_static_actors(&mut self) -> Vec<&mut Self::RigidStatic>
[src]
fn get_dynamic_actors(&mut self) -> Vec<&mut Self::RigidDynamic>
[src]
fn get_aggregates(&mut self) -> Vec<&mut Self::Aggregate>
[src]
fn get_constraints(&mut self) -> Vec<&mut Constraint>
[src]
unsafe fn set_contact_modify_callback(
&mut self,
callback: &mut PxContactModifyCallback
)
[src]
&mut self,
callback: &mut PxContactModifyCallback
)
unsafe fn get_contact_modify_callback(&self) -> &PxContactModifyCallback
[src]
unsafe fn set_ccd_contact_modify_callback(
&mut self,
callback: &mut PxCCDContactModifyCallback
)
[src]
&mut self,
callback: &mut PxCCDContactModifyCallback
)
unsafe fn get_ccd_contact_callback(&self) -> &PxCCDContactModifyCallback
[src]
unsafe fn set_broad_phase_callback(
&mut self,
callback: &mut PxBroadPhaseCallback
)
[src]
&mut self,
callback: &mut PxBroadPhaseCallback
)
unsafe fn get_broad_phase_callback(&self) -> &PxBroadPhaseCallback
[src]
fn reset_filtering(&mut self, actor: &mut impl Actor)
[src]
fn reset_rigid_actor_filtering<R: RigidActor>(
&mut self,
actor: &mut R,
shapes: &[&mut R::Shape]
)
[src]
&mut self,
actor: &mut R,
shapes: &[&mut R::Shape]
)
fn get_kinematic_kinematic_filtering_mode(&self) -> PairFilteringMode
[src]
fn get_static_kinematic_filtering_mode(&self) -> PairFilteringMode
[src]
fn set_gravity(&mut self, x: f32, y: f32, z: f32)
[src]
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> Send for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
L: ArticulationLink + Send,
S: RigidStatic + Send,
D: RigidDynamic + Send,
T: Articulation + Send,
C: ArticulationReducedCoordinate + Send,
OC: CollisionCallback + Send,
OT: TriggerCallback + Send,
OCB: ConstraintBreakCallback + Send,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
[src]
L: ArticulationLink + Send,
S: RigidStatic + Send,
D: RigidDynamic + Send,
T: Articulation + Send,
C: ArticulationReducedCoordinate + Send,
OC: CollisionCallback + Send,
OT: TriggerCallback + Send,
OCB: ConstraintBreakCallback + Send,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> Sync for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
L: ArticulationLink + Sync,
S: RigidStatic + Sync,
D: RigidDynamic + Sync,
T: Articulation + Sync,
C: ArticulationReducedCoordinate + Sync,
OC: CollisionCallback + Sync,
OT: TriggerCallback + Sync,
OCB: ConstraintBreakCallback + Sync,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
[src]
L: ArticulationLink + Sync,
S: RigidStatic + Sync,
D: RigidDynamic + Sync,
T: Articulation + Sync,
C: ArticulationReducedCoordinate + Sync,
OC: CollisionCallback + Sync,
OT: TriggerCallback + Sync,
OCB: ConstraintBreakCallback + Sync,
OWS: WakeSleepCallback<L, S, D>,
OA: AdvanceCallback<L, D>,
Auto Trait Implementations
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> RefUnwindSafe for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
C: RefUnwindSafe,
D: RefUnwindSafe,
L: RefUnwindSafe,
OA: RefUnwindSafe,
OC: RefUnwindSafe,
OCB: RefUnwindSafe,
OT: RefUnwindSafe,
OWS: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
L: RefUnwindSafe,
OA: RefUnwindSafe,
OC: RefUnwindSafe,
OCB: RefUnwindSafe,
OT: RefUnwindSafe,
OWS: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> Unpin for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
C: Unpin,
D: Unpin,
L: Unpin,
OA: Unpin,
OC: Unpin,
OCB: Unpin,
OT: Unpin,
OWS: Unpin,
S: Unpin,
T: Unpin,
U: Unpin,
C: Unpin,
D: Unpin,
L: Unpin,
OA: Unpin,
OC: Unpin,
OCB: Unpin,
OT: Unpin,
OWS: Unpin,
S: Unpin,
T: Unpin,
U: Unpin,
impl<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> UnwindSafe for PxScene<U, L, S, D, T, C, OC, OT, OCB, OWS, OA> where
C: UnwindSafe,
D: UnwindSafe,
L: UnwindSafe,
OA: UnwindSafe,
OC: UnwindSafe,
OCB: UnwindSafe,
OT: UnwindSafe,
OWS: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
L: UnwindSafe,
OA: UnwindSafe,
OC: UnwindSafe,
OCB: UnwindSafe,
OT: UnwindSafe,
OWS: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
impl<T> Actor for T where
T: Class<PxActor> + Base,
[src]
T: Class<PxActor> + Base,
fn get_type(&self) -> ActorType
[src]
fn get_world_bounds(&self, inflation: f32) -> PxBounds3
[src]
fn set_actor_flag(&mut self, flag: ActorFlag, value: bool)
[src]
fn set_actor_flags(&mut self, flags: BitFlags<ActorFlag>)
[src]
fn get_actor_flags(&self) -> BitFlags<ActorFlag>
[src]
fn set_dominance_group(&mut self, group: u8)
[src]
fn get_dominance_group(&self) -> u8
[src]
fn set_owner_client(&mut self, client: u8)
[src]
fn get_owner_client(&self) -> u8
[src]
fn enable_visualization(&mut self, enable: bool)
[src]
fn enable_gravity(&mut self, enable: bool)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Base for T where
T: Class<PxBase>,
[src]
T: Class<PxBase>,
fn get_concrete_type_name(&self) -> Option<&str>
[src]
fn get_concrete_type(&self) -> ConcreteType
[src]
fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
[src]
fn set_base_flags(&mut self, in_flags: BitFlags<BaseFlag>)
[src]
fn get_base_flags(&self) -> BitFlags<BaseFlag>
[src]
fn is_releasable(&self) -> bool
[src]
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>,