[−][src]Struct physx::articulation_link::ArticulationLinkBuilder
Fields
collider_transform: Mat4
collider: Option<ColliderDesc>
Implementations
impl ArticulationLinkBuilder
[src]
pub fn build(
&self,
body: &mut ArticulationReducedCoordinate,
parent: PartHandle,
joint_transform: Option<Mat4>
) -> PartHandle
[src]
&self,
body: &mut ArticulationReducedCoordinate,
parent: PartHandle,
joint_transform: Option<Mat4>
) -> PartHandle
pub fn set_name(&mut self, name: &str)
[src]
pub fn name(self, name: &str) -> Self
[src]
pub fn parent_shift(self, parent_offset: Vec3) -> Self
[src]
pub fn parent_rotation(self, parent_rotation: Quat) -> Self
[src]
pub fn mass(self, mass: f32) -> Self
[src]
pub fn inertia_tensor(
self,
ixx: f32,
ixy: f32,
ixz: f32,
iyy: f32,
iyz: f32,
izz: f32
) -> Self
[src]
self,
ixx: f32,
ixy: f32,
ixz: f32,
iyy: f32,
iyz: f32,
izz: f32
) -> Self
pub fn add_geometry(self, trans: Mat4, coll: ColliderDesc) -> Self
[src]
Add geometry with "transform" relative to link origin
Trait Implementations
impl Default for ArticulationLinkBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArticulationLinkBuilder
impl Send for ArticulationLinkBuilder
impl Sync for ArticulationLinkBuilder
impl Unpin for ArticulationLinkBuilder
impl UnwindSafe for ArticulationLinkBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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.
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>,