Struct collada::document::ColladaDocument [] [src]

pub struct ColladaDocument {
    pub root_element: Element,




impl ColladaDocument

fn from_path(path: &Path) -> Result<ColladaDocument, &'static str>

Construct a ColladaDocument for the XML document at the given path

fn get_animations(&self) -> Vec<Animation>

Return a vector of all Animations in the Collada document

fn get_obj_set(&self) -> Option<ObjSet>

Populate and return an ObjSet for the meshes in the Collada document

fn get_bind_data_set(&self) -> Option<BindDataSet>

Populate and return a BindDataSet from the Collada document

fn get_skeletons(&self) -> Option<Vec<Skeleton>>