Struct skeletal_animation::manager::AssetManager [] [src]

pub struct AssetManager<T: Transform> {
    pub animation_clips: HashMap<String, Rc<AnimationClip<T>>>,
    pub controller_defs: HashMap<String, AnimationControllerDef>,
}

Asset manager - manages memory for loaded assets...?

Fields

animation_clips
controller_defs

Methods

impl<T: Transform> AssetManager<T>

fn new() -> AssetManager<T>

fn load_assets(&mut self, path: &str)

fn load_def_from_path<D>(path: &str) -> Result<D, &'static str> where D: Decodable