Struct dae_parser::Animation
source · pub struct Animation {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub children: Vec<Animation>,
pub source: Vec<Source>,
pub sampler: Vec<Sampler>,
pub channel: Vec<Channel>,
pub extra: Vec<Extra>,
}
Expand description
Categorizes the declaration of animation information.
Fields§
§id: Option<String>
A text string containing the unique identifier of the element.
name: Option<String>
The text string name of this element.
asset: Option<Box<Asset>>
Asset management information about this element.
children: Vec<Animation>
Allows the formation of a hierarchy of related animations.
source: Vec<Source>
The data repository that provides values according to the semantics of an
Input
element that refers to it.
sampler: Vec<Sampler>
Describes the interpolation sampling function for the animation.
channel: Vec<Channel>
Describes an output channel for the animation.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Trait Implementations§
source§impl HasId for Animation
impl HasId for Animation
source§impl ParseLibrary for Animation
impl ParseLibrary for Animation
source§fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
fn extract_element(e: &LibraryElement) -> Option<&Library<Self>>
Extract the library from a single
LibraryElement
.source§fn mk_element(lib: Library<Self>) -> LibraryElement
fn mk_element(lib: Library<Self>) -> LibraryElement
Make a
LibraryElement
from a Library
.