Struct skeletal_animation::skeleton::Skeleton
source · Fields
joints: Vec<Joint>
All joints in the skeleton
Implementations
sourceimpl Skeleton
impl Skeleton
sourcepub fn from_collada(skeleton: &Skeleton) -> Skeleton
pub fn from_collada(skeleton: &Skeleton) -> Skeleton
Build a skeleton fromm a Collada skeleton
pub fn calculate_global_poses<T: Transform, TOutput: Transform + FromTransform<T>>(
&self,
local_poses: &[T],
global_poses: &mut [TOutput]
)
pub fn get_joint_index(&self, joint_name: &str) -> Option<JointIndex>
pub fn draw<R: Resources, F: Factory<R>, T: Transform>(
&self,
global_poses: &[T],
debug_renderer: &mut DebugRenderer<R, F>,
draw_labels: bool
)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Skeleton
impl Send for Skeleton
impl Sync for Skeleton
impl Unpin for Skeleton
impl UnwindSafe for Skeleton
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more