Struct skeletal_animation::skeleton::Skeleton
[−]
[src]
pub struct Skeleton { pub joints: Vec<Joint>, }
Fields
joints: Vec<Joint>
All joints in the skeleton
Methods
impl Skeleton
[src]
fn from_collada(skeleton: &Skeleton) -> Skeleton
Build a skeleton fromm a Collada skeleton
fn calculate_global_poses<T: Transform, TOutput: Transform + FromTransform<T>>(
&self,
local_poses: &[T],
global_poses: &mut [TOutput]
)
&self,
local_poses: &[T],
global_poses: &mut [TOutput]
)
fn get_joint_index(&self, joint_name: &str) -> Option<JointIndex>
fn draw<R: Resources, F: Factory<R>, T: Transform>(
&self,
global_poses: &[T],
debug_renderer: &mut DebugRenderer<R, F>,
draw_labels: bool
)
&self,
global_poses: &[T],
debug_renderer: &mut DebugRenderer<R, F>,
draw_labels: bool
)
Trait Implementations
impl Debug for Skeleton
[src]
impl Clone for Skeleton
[src]
fn clone(&self) -> Skeleton
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more