Struct dae_parser::Vertices [−][src]
pub struct Vertices {
pub id: String,
pub name: Option<String>,
pub inputs: Vec<Input>,
pub position: usize,
pub extra: Vec<Extra>,
}Expand description
Declares the attributes and identity of mesh-vertices.
Fields
id: StringA text string containing the unique identifier of the element. This value must be unique within the document.
name: Option<String>The text string name of this element.
inputs: Vec<Input>The list of inputs.
position: usizeThe index into inputs for the Semantic::Position input (which must exist).
extra: Vec<Extra>Provides arbitrary additional information about this element.
Implementations
pub fn importer<'a, R: UrlResolver<'a, Source>>(
&'a self,
res: &R
) -> Result<VertexImporter<'a>, R::Error>
pub fn importer<'a, R: UrlResolver<'a, Source>>(
&'a self,
res: &R
) -> Result<VertexImporter<'a>, R::Error>
Construct a VertexImporter from the Vertices data. It requires a UrlResolver
to find the source arrays (which are usually but not always stored in the Mesh itself).
The input with Semantic::Position.
Trait Implementations
Extract the relevant LocalMap field from a LocalMaps.
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
Extract the relevant LocalMap field from a LocalMaps.
Auto Trait Implementations
impl RefUnwindSafe for Vertices
impl UnwindSafe for Vertices
Blanket Implementations
Mutably borrows from an owned value. Read more