pub struct AnimationBindComponent { /* private fields */ }Implementations§
Source§impl AnimationBindComponent
impl AnimationBindComponent
pub fn new() -> Result<Self>
pub fn info(&self) -> Result<AnimationBindComponentInfo>
pub fn set_skeleton(&self, skeleton: &Skeleton)
pub fn skeleton(&self) -> Option<Skeleton>
pub fn set_packed_joint_animation(&self, animation: &PackedJointAnimation)
pub fn packed_joint_animation(&self) -> Option<PackedJointAnimation>
pub fn set_joint_paths(&self, joint_paths: &[&str]) -> Result<()>
pub fn set_geometry_bind_transform(&self, matrix: [f32; 16])
Trait Implementations§
Source§impl Clone for AnimationBindComponent
impl Clone for AnimationBindComponent
Source§fn clone(&self) -> AnimationBindComponent
fn clone(&self) -> AnimationBindComponent
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 moreAuto Trait Implementations§
impl Freeze for AnimationBindComponent
impl RefUnwindSafe for AnimationBindComponent
impl !Send for AnimationBindComponent
impl !Sync for AnimationBindComponent
impl Unpin for AnimationBindComponent
impl UnsafeUnpin for AnimationBindComponent
impl UnwindSafe for AnimationBindComponent
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