#[repr(transparent)]pub struct ArticulationJointReducedCoordinate { /* private fields */ }
Expand description
PxArticulationJointReducedCoordinate new type wrapper.
Implementations§
source§impl ArticulationJointReducedCoordinate
impl ArticulationJointReducedCoordinate
sourcepub fn set_drive_target(&mut self, rot: f32, axis: ArticulationAxis)
pub fn set_drive_target(&mut self, rot: f32, axis: ArticulationAxis)
Set target angle around axis for this joint
sourcepub fn set_joint_type(&mut self, joint_type: ArticulationJointType)
pub fn set_joint_type(&mut self, joint_type: ArticulationJointType)
Set the Joint type.
sourcepub fn get_joint_type(&self) -> ArticulationJointType
pub fn get_joint_type(&self) -> ArticulationJointType
Get the joint type.
sourcepub fn set_limit(&mut self, axis: ArticulationAxis, min: f32, max: f32)
pub fn set_limit(&mut self, axis: ArticulationAxis, min: f32, max: f32)
Set motion limits for Axis
sourcepub fn set_drive(
&mut self,
axis: ArticulationAxis,
stiffness: f32,
damping: f32,
max_force: f32,
drive_type: ArticulationDriveType
)
pub fn set_drive( &mut self, axis: ArticulationAxis, stiffness: f32, damping: f32, max_force: f32, drive_type: ArticulationDriveType )
set drive type of the associated joints
sourcepub fn set_motion(&mut self, axis: ArticulationAxis, motion: ArticulationMotion)
pub fn set_motion(&mut self, axis: ArticulationAxis, motion: ArticulationMotion)
Set the ArticulationMotion for an axis.
Trait Implementations§
source§impl Class<PxArticulationJointReducedCoordinate> for ArticulationJointReducedCoordinate
impl Class<PxArticulationJointReducedCoordinate> for ArticulationJointReducedCoordinate
source§fn as_ptr(&self) -> *const PxArticulationJointReducedCoordinate
fn as_ptr(&self) -> *const PxArticulationJointReducedCoordinate
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§fn as_mut_ptr(&mut self) -> *mut PxArticulationJointReducedCoordinate
fn as_mut_ptr(&mut self) -> *mut PxArticulationJointReducedCoordinate
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§impl Class<PxBase> for ArticulationJointReducedCoordinate
impl Class<PxBase> for ArticulationJointReducedCoordinate
source§fn as_ptr(&self) -> *const PxBase
fn as_ptr(&self) -> *const PxBase
Returns a raw const pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
source§fn as_mut_ptr(&mut self) -> *mut PxBase
fn as_mut_ptr(&mut self) -> *mut PxBase
Returns a raw mut pointer to the wrapped type.
Retrieving a raw pointer is safe. However, pretty much any use of a raw pointer is unsafe.
In particular: this pointer should not be used to construct a second owning wrapper around the pointer.
impl Send for ArticulationJointReducedCoordinate
impl Sync for ArticulationJointReducedCoordinate
Auto Trait Implementations§
impl RefUnwindSafe for ArticulationJointReducedCoordinate
impl Unpin for ArticulationJointReducedCoordinate
impl UnwindSafe for ArticulationJointReducedCoordinate
Blanket Implementations§
source§impl<T> Base for Twhere
T: Class<PxBase>,
impl<T> Base for Twhere T: Class<PxBase>,
source§fn get_concrete_type_name(&self) -> Option<&str>
fn get_concrete_type_name(&self) -> Option<&str>
Get the name of the real type referenced by this pointer, or None if the returned string is not valid
source§fn get_concrete_type(&self) -> ConcreteType
fn get_concrete_type(&self) -> ConcreteType
Returns an enumerated value identifying the type. Read more
source§fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
fn set_base_flag(&mut self, flag: BaseFlag, value: bool)
Set or unset the specified flag on this object.
source§fn set_base_flags(&mut self, in_flags: BaseFlags)
fn set_base_flags(&mut self, in_flags: BaseFlags)
Set the BaseFlags of this object. Note that replaces all flags currently
on the object. Use
set_base_flag
to set individual flags.source§fn get_base_flags(&self) -> BaseFlags
fn get_base_flags(&self) -> BaseFlags
Read the BaseFlags of this object
source§fn is_releasable(&self) -> bool
fn is_releasable(&self) -> bool
Returns true if this object can be released, i.e., it is not subordinate.