Struct amethyst_animation::VertexSkinningSystem [−][src]
pub struct VertexSkinningSystem { /* fields omitted */ }
System for performing vertex skinning.
Needs to run after global transforms have been updated for the current frame.
Methods
impl VertexSkinningSystem
[src]
impl VertexSkinningSystem
Trait Implementations
impl<'a> System<'a> for VertexSkinningSystem
[src]
impl<'a> System<'a> for VertexSkinningSystem
type SystemData = (ReadStorage<'a, Joint>, ReadStorage<'a, GlobalTransform>, ReadStorage<'a, Skin>, WriteStorage<'a, JointTransforms>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (joints, transforms, skins, matrices): Self::SystemData)
[src]
fn run(&mut self, (joints, transforms, skins, matrices): Self::SystemData)
Executes the system with the required system data. Read more
fn setup(&mut self, res: &mut Resources)
[src]
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the [SystemData
].
Auto Trait Implementations
impl Send for VertexSkinningSystem
impl Send for VertexSkinningSystem
impl Sync for VertexSkinningSystem
impl Sync for VertexSkinningSystem