pub struct HaRigSkeleton { /* private fields */ }Implementations§
source§impl HaRigSkeleton
impl HaRigSkeleton
pub fn bone_transforms(&self) -> impl Iterator<Item = (&str, &HaTransform)>
pub fn has_bone_transform(&self, name: &str) -> bool
pub fn bone_transform(&self, name: &str) -> Option<&HaTransform>
pub fn set_bone_transform( &mut self, name: impl ToString, transform: HaTransform )
pub fn unset_bone_transform(&mut self, name: &str)
pub fn with_existing_bone_transforms<F>(&mut self, f: F)where F: FnMut(&str, &mut HaTransform),
pub fn with_bone_transform<F>(&mut self, name: String, f: F)where F: FnMut(&mut HaTransform),
pub fn bone_matrices(&self) -> &[Mat4]
pub fn is_dirty(&self) -> bool
pub fn mark_dirty(&mut self)
Trait Implementations§
source§impl Clone for HaRigSkeleton
impl Clone for HaRigSkeleton
source§fn clone(&self) -> HaRigSkeleton
fn clone(&self) -> HaRigSkeleton
Returns a copy 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 HaRigSkeleton
impl Debug for HaRigSkeleton
source§impl Default for HaRigSkeleton
impl Default for HaRigSkeleton
source§impl<'de> Deserialize<'de> for HaRigSkeleton
impl<'de> Deserialize<'de> for HaRigSkeleton
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for HaRigSkeleton
impl Send for HaRigSkeleton
impl Sync for HaRigSkeleton
impl Unpin for HaRigSkeleton
impl UnwindSafe for HaRigSkeleton
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
§impl<T> Initialize for Twhere
T: Default,
impl<T> Initialize for Twhere T: Default,
fn initialize(&mut self)
§unsafe fn initialize_raw(data: *mut ())
unsafe fn initialize_raw(data: *mut ())
Safety Read more