Trait physx::aggregate::Aggregate [−][src]
Associated Types
type ActorMap: RigidActor
[src]
type ArticulationLink: ArticulationLink
[src]
type RigidStatic: RigidStatic
[src]
type RigidDynamic: RigidDynamic
[src]
type Articulation: Articulation
[src]
type ArticulationReducedCoordinate: ArticulationReducedCoordinate
[src]
Provided methods
unsafe fn from_raw(ptr: *mut PxAggregate) -> Option<Owner<Self>>
[src]
Create a new owning wrapper around a raw physx_sys::PxAggregate
.
Safety
Owner's own the pointer they wrap, using the pointer after dropping the Owner,
or creating multiple Owners from the same pointer will cause UB. Use into_ptr
to
retrieve the pointer and consume the Owner without dropping the pointee.
fn add_articulation_link(
&mut self,
actor: &mut Self::ArticulationLink,
bvh: Option<&BVHStructure>
) -> bool
[src]
&mut self,
actor: &mut Self::ArticulationLink,
bvh: Option<&BVHStructure>
) -> bool
Add an actor to the aggregate.
fn add_rigid_static(
&mut self,
actor: &mut Self::RigidStatic,
bvh: Option<&BVHStructure>
) -> bool
[src]
&mut self,
actor: &mut Self::RigidStatic,
bvh: Option<&BVHStructure>
) -> bool
Add an actor to the aggregate.
fn add_rigid_dynamic(
&mut self,
actor: &mut Self::RigidDynamic,
bvh: Option<&BVHStructure>
) -> bool
[src]
&mut self,
actor: &mut Self::RigidDynamic,
bvh: Option<&BVHStructure>
) -> bool
Add an actor to the aggregate.
fn add_articulation(&mut self, articulation: &mut Self::Articulation) -> bool
[src]
Add an articulation to the aggregate.
fn add_articulation_reduced_coordinate(
&mut self,
articulation: &mut Self::ArticulationReducedCoordinate
) -> bool
[src]
&mut self,
articulation: &mut Self::ArticulationReducedCoordinate
) -> bool
Add an articulation to the aggregate.
fn get_actors(&mut self) -> Vec<&mut Self::ActorMap>
[src]
Get a Vec of all the actors in the aggregate.
fn get_max_nb_actors(&self) -> u32
[src]
Return the maximum possible number of actors in the aggregate.
fn get_nb_actors(&self) -> u32
[src]
Returns the number of actors in the aggregate.
fn get_self_collision(&self) -> bool
[src]
Returns whether the aggregate will collide with itself.
fn remove_actor(&mut self, actor: &mut impl Actor) -> bool
[src]
Remove an actor from the aggregate.
fn remove_articulation(
&mut self,
articulation: &mut impl ArticulationBase
) -> bool
[src]
&mut self,
articulation: &mut impl ArticulationBase
) -> bool
Remove an articulation from the aggregate.
Implementors
impl<L, S, D, T, C> Aggregate for PxAggregate<L, S, D, T, C> where
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,
[src]
L: ArticulationLink,
S: RigidStatic,
D: RigidDynamic,
T: Articulation,
C: ArticulationReducedCoordinate,