Struct physx::articulation_link::PxArticulationLink [−][src]
A new type wrapper for PxArticulationLink. Parametrized by it's user data type, and the type of it's Shapes.
Trait Implementations
impl<L, Geom: Shape> ArticulationLink for PxArticulationLink<L, Geom>
[src]
unsafe fn from_raw(
ptr: *mut PxArticulationLink,
user_data: Self::UserData
) -> Option<Owner<Self>>
[src]
ptr: *mut PxArticulationLink,
user_data: Self::UserData
) -> Option<Owner<Self>>
fn get_user_data(&self) -> &Self::UserData
[src]
fn get_user_data_mut(&mut self) -> &mut Self::UserData
[src]
fn enable_collision(&mut self, enable: bool)
[src]
fn get_inbound_joint(&self) -> Option<&JointMap>
[src]
fn get_link_index(&self) -> u32
[src]
fn get_inbound_joint_dof(&self) -> u32
[src]
fn get_nb_children(&self) -> u32
[src]
fn get_children(&self) -> Vec<&Self>
[src]
impl<P, L, Geom: Shape> Class<P> for PxArticulationLink<L, Geom> where
PxArticulationLink: Class<P>,
[src]
PxArticulationLink: Class<P>,
impl<L, Geom: Shape> Drop for PxArticulationLink<L, Geom>
[src]
impl<L, Geom: Shape> RigidActor for PxArticulationLink<L, Geom>
[src]
type Shape = Geom
fn get_nb_constraints(&self) -> u32
[src]
fn get_constraints(&mut self) -> Vec<&mut Constraint>
[src]
fn get_global_pose(&self) -> PxTransform
[src]
fn get_global_position(&self) -> PxVec3
[src]
fn get_global_rotation(&self) -> PxQuat
[src]
fn set_global_pose(&mut self, pose: &PxTransform, autowake: bool)
[src]
fn get_nb_shapes(&self) -> u32
[src]
fn get_shapes(&self) -> Vec<&Self::Shape>
[src]
fn get_shapes_mut(&mut self) -> Vec<&mut Self::Shape>
[src]
fn set_collision_filter(
&mut self,
this_layers: BitFlags<CollisionLayer>,
other_layers: BitFlags<CollisionLayer>,
word3: u32,
word4: u32
)
[src]
&mut self,
this_layers: BitFlags<CollisionLayer>,
other_layers: BitFlags<CollisionLayer>,
word3: u32,
word4: u32
)
fn set_query_filter(&mut self, this_layers: BitFlags<CollisionLayer>)
[src]
fn attach_shape(&mut self, shape: &mut Self::Shape) -> bool
[src]
fn detach_shape(&mut self, shape: &mut Self::Shape)
[src]
impl<L: Send, Geom: Shape + Send> Send for PxArticulationLink<L, Geom>
[src]
impl<L: Sync, Geom: Shape + Sync> Sync for PxArticulationLink<L, Geom>
[src]
Auto Trait Implementations
impl<L, Geom> RefUnwindSafe for PxArticulationLink<L, Geom> where
Geom: RefUnwindSafe,
L: RefUnwindSafe,
Geom: RefUnwindSafe,
L: RefUnwindSafe,
impl<L, Geom> Unpin for PxArticulationLink<L, Geom> where
Geom: Unpin,
L: Unpin,
Geom: Unpin,
L: Unpin,
impl<L, Geom> UnwindSafe for PxArticulationLink<L, Geom> where
Geom: UnwindSafe,
L: UnwindSafe,
Geom: UnwindSafe,
L: 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> RigidBody for T where
T: Class<PxRigidBody> + RigidActor,
[src]
T: Class<PxRigidBody> + RigidActor,
fn set_mass(&mut self, mass: f32)
[src]
fn get_angular_velocity(&self) -> PxVec3
[src]
fn get_linear_velocity(&self) -> PxVec3
[src]
fn get_velocities(&self) -> (PxVec3, PxVec3)
[src]
fn set_c_mass_local_pose(&mut self, pose: &PxTransform)
[src]
fn get_c_mass_local_pose(&self) -> PxTransform
[src]
fn get_mass(&self) -> f32
[src]
fn get_inv_mass(&self) -> f32
[src]
fn set_mass_space_inertia_tensor(&mut self, m: &PxVec3)
[src]
fn get_mass_space_inertia_tensor(&self) -> PxVec3
[src]
fn get_mass_space_inv_inertia_tensor(&self) -> PxVec3
[src]
fn set_linear_damping(&mut self, lin_damp: f32)
[src]
fn get_linear_damping(&self) -> f32
[src]
fn set_angular_damping(&mut self, ang_damp: f32)
[src]
fn get_angular_damping(&self) -> f32
[src]
fn set_linear_velocity(&mut self, lin_vel: &PxVec3, autowake: bool)
[src]
fn set_angular_velocity(&mut self, ang_vel: &PxVec3, autowake: bool)
[src]
fn set_max_angular_velocity(&mut self, max_ang_vel: f32)
[src]
fn get_max_angular_velocity(&self) -> f32
[src]
fn set_max_linear_velocity(&mut self, max_lin_vel: f32)
[src]
fn get_max_linear_velocity(&self) -> f32
[src]
fn add_force(&mut self, force: &PxVec3, mode: ForceMode, autowake: bool)
[src]
fn add_torque(&mut self, torque: &PxVec3, mode: ForceMode, autowake: bool)
[src]
fn clear_force(&mut self, mode: ForceMode)
[src]
fn clear_torque(&mut self, mode: ForceMode)
[src]
fn set_force_and_torque(
&mut self,
force: &PxVec3,
torque: &PxVec3,
mode: ForceMode
)
[src]
&mut self,
force: &PxVec3,
torque: &PxVec3,
mode: ForceMode
)
fn set_rigid_body_flag(&mut self, flag: RigidBodyFlag, value: bool)
[src]
fn set_rigid_body_flags(&mut self, flags: RigidBodyFlags)
[src]
fn get_rigid_body_flags(&self) -> RigidBodyFlags
[src]
fn set_min_ccd_advance_coefficient(&mut self, advance_coefficient: f32)
[src]
fn get_min_ccd_advance_coefficient(&self) -> f32
[src]
fn set_max_depenetration_velocity(&mut self, bias_clamp: f32)
[src]
fn get_max_depenetration_velocity(&self) -> f32
[src]
fn set_max_contact_impulse(&mut self, max_impulse: f32)
[src]
fn get_max_contact_impulse(&self) -> f32
[src]
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>,