Struct gltf::scene::Scene [−][src]
pub struct Scene<'a> { /* fields omitted */ }
The root nodes of a scene.
Methods
impl<'a> Scene<'a>
[src]
impl<'a> Scene<'a>
pub fn index(&self) -> usize
[src]
pub fn index(&self) -> usize
Returns the internal JSON index.
pub fn extras(&self) -> &Extras
[src]
pub fn extras(&self) -> &Extras
Optional application specific data.
pub fn name(&self) -> Option<&str>
[src]
pub fn name(&self) -> Option<&str>
Optional user-defined name for this object.
ⓘImportant traits for Nodes<'a>pub fn nodes(&self) -> Nodes<'a>
[src]
ⓘImportant traits for Nodes<'a>
pub fn nodes(&self) -> Nodes<'a>
Returns an Iterator
that visits each root node of the scene.
Trait Implementations
impl<'a> Clone for Scene<'a>
[src]
impl<'a> Clone for Scene<'a>
fn clone(&self) -> Scene<'a>
[src]
fn clone(&self) -> Scene<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for Scene<'a>
[src]
impl<'a> Debug for Scene<'a>