pub struct PxArticulationLinkRef(/* private fields */);Implementations§
Source§impl PxArticulationLinkRef
impl PxArticulationLinkRef
pub fn new( articulation: &dyn AsArticulationBase, parent: Option<&PxArticulationLinkRef>, pose: &PxTransform, ) -> Self
pub fn get_inbound_joint(&self) -> PxArticulationJointBaseRef
pub fn get_link_index(&self) -> u32
pub fn get_inbound_joint_dof(&self) -> u32
pub fn release(&mut self)
Trait Implementations§
Source§impl AsPxActor for PxArticulationLinkRef
impl AsPxActor for PxArticulationLinkRef
fn as_actor(&self) -> PxActorRef
Source§impl AsPxRigidActor for PxArticulationLinkRef
impl AsPxRigidActor for PxArticulationLinkRef
fn as_rigid_actor(&self) -> PxRigidActorRef
Source§impl AsPxRigidBody for PxArticulationLinkRef
impl AsPxRigidBody for PxArticulationLinkRef
fn as_rigid_body(&self) -> PxRigidBodyRef
Source§impl Clone for PxArticulationLinkRef
impl Clone for PxArticulationLinkRef
Source§fn clone(&self) -> PxArticulationLinkRef
fn clone(&self) -> PxArticulationLinkRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PxArticulationLinkRef
impl Debug for PxArticulationLinkRef
impl Copy for PxArticulationLinkRef
impl Send for PxArticulationLinkRef
impl Sync for PxArticulationLinkRef
Auto Trait Implementations§
impl Freeze for PxArticulationLinkRef
impl RefUnwindSafe for PxArticulationLinkRef
impl Unpin for PxArticulationLinkRef
impl UnwindSafe for PxArticulationLinkRef
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for T
impl<T> Downcast for T
Source§impl<T> PxActor for Twhere
T: AsPxActor + 'static,
impl<T> PxActor for Twhere
T: AsPxActor + 'static,
Source§fn set_name(&self, name: &CString)
fn set_name(&self, name: &CString)
Note; physx doesn’t copy the string, so the string needs to be kept alive somewhere else
fn get_scene(&self) -> Option<PxSceneRef>
fn set_actor_flag(&self, flag: PxActorFlag, value: bool)
fn set_actor_flags(&self, flags: PxActorFlag)
Source§fn get_world_bounds(&self, inflation: f32) -> (Vec3, Vec3)
fn get_world_bounds(&self, inflation: f32) -> (Vec3, Vec3)
Returns an axis aligned bounding box (min, max)
fn get_name(&self) -> String
Source§impl<T> PxBase for Twhere
T: AsPxBase + 'static,
impl<T> PxBase for Twhere
T: AsPxBase + 'static,
fn get_concrete_type(&self) -> u16
fn as_px_any(&self) -> PxAny
fn to_rigid_dynamic(&self) -> Option<PxRigidDynamicRef>
fn to_rigid_actor(&self) -> Option<PxRigidActorRef>
fn to_rigid_body(&self) -> Option<PxRigidBodyRef>
fn to_rigid_static(&self) -> Option<PxRigidStaticRef>
fn to_joint(&self) -> Option<PxJointRef>
fn to_fixed_joint(&self) -> Option<PxFixedJointRef>
fn to_revolute_joint(&self) -> Option<PxRevoluteJointRef>
Source§impl<T> PxRigidActor for Twhere
T: AsPxRigidActor + 'static,
impl<T> PxRigidActor for Twhere
T: AsPxRigidActor + 'static,
fn attach_shape(&self, shape: &PxShape) -> bool
fn detach_shape(&self, shape: &PxShape, wake_on_lost_touch: bool)
fn get_nb_shapes(&self) -> u32
Source§fn borrow_shapes(&self) -> Vec<PxShape>
fn borrow_shapes(&self) -> Vec<PxShape>
This returns a list of shapes, but it doesn’t increment the refcount for each shape. This means
that the shapes cannot be stored, and will only be valid as long as the rigid actor is valid.