pub struct Skeleton { /* private fields */ }Expand description
Wraps the corresponding Model I/O skeleton counterpart.
Implementations§
Source§impl Skeleton
impl Skeleton
Sourcepub fn new(name: &str, joint_paths: &[&str]) -> Result<Self>
pub fn new(name: &str, joint_paths: &[&str]) -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O skeleton counterpart.
Sourcepub fn info(&self) -> Result<SkeletonInfo>
pub fn info(&self) -> Result<SkeletonInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O skeleton counterpart.
Sourcepub fn joint_bind_transform_array(&self) -> Result<Matrix4x4Array>
pub fn joint_bind_transform_array(&self) -> Result<Matrix4x4Array>
Calls the corresponding Model I/O method on the wrapped Model I/O skeleton counterpart.
Sourcepub fn joint_rest_transform_array(&self) -> Result<Matrix4x4Array>
pub fn joint_rest_transform_array(&self) -> Result<Matrix4x4Array>
Calls the corresponding Model I/O method on the wrapped Model I/O skeleton counterpart.
Sourcepub fn joint_bind_transforms(&self) -> Result<Vec<[f32; 16]>>
pub fn joint_bind_transforms(&self) -> Result<Vec<[f32; 16]>>
Calls the corresponding Model I/O method on the wrapped Model I/O skeleton counterpart.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Skeleton
impl RefUnwindSafe for Skeleton
impl !Send for Skeleton
impl !Sync for Skeleton
impl Unpin for Skeleton
impl UnsafeUnpin for Skeleton
impl UnwindSafe for Skeleton
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