pub struct SkeletonJoint3D { /* private fields */ }Expand description
Named bone joint inside a hierarchical SkeletonRig3D.
Implementations§
Source§impl SkeletonJoint3D
Parent accessor for SkeletonJoint3D.
impl SkeletonJoint3D
Parent accessor for SkeletonJoint3D.
Sourcepub fn new(
name: &str,
parent: Option<usize>,
rest_transform: Transform3D,
) -> SkeletonJoint3D
pub fn new( name: &str, parent: Option<usize>, rest_transform: Transform3D, ) -> SkeletonJoint3D
Source§impl SkeletonJoint3D
impl SkeletonJoint3D
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut SkeletonJoint3D
pub fn get_mut_parent(&mut self) -> &mut Option<usize>
pub fn set_parent(&mut self, val: Option<usize>) -> &mut SkeletonJoint3D
pub fn get_rest_transform(&self) -> Transform3D
pub fn get_mut_rest_transform(&mut self) -> &mut Transform3D
pub fn set_rest_transform(&mut self, val: Transform3D) -> &mut SkeletonJoint3D
Trait Implementations§
Source§impl Clone for SkeletonJoint3D
impl Clone for SkeletonJoint3D
Source§fn clone(&self) -> SkeletonJoint3D
fn clone(&self) -> SkeletonJoint3D
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkeletonJoint3D
impl Debug for SkeletonJoint3D
Source§impl PartialEq for SkeletonJoint3D
impl PartialEq for SkeletonJoint3D
impl StructuralPartialEq for SkeletonJoint3D
Auto Trait Implementations§
impl Forget for SkeletonJoint3D
impl Freeze for SkeletonJoint3D
impl Move for SkeletonJoint3D
impl RefUnwindSafe for SkeletonJoint3D
impl Send for SkeletonJoint3Dwhere
RawVecInner: Send,
impl Sync for SkeletonJoint3Dwhere
RawVecInner: Sync,
impl Unpin for SkeletonJoint3D
impl UnsafeUnpin for SkeletonJoint3D
impl UnwindSafe for SkeletonJoint3Dwhere
RawVecInner: UnwindSafe,
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