Struct gltf::root::Root
[−]
[src]
pub struct Root(_);
The (immutable) root object for a glTF asset.
Methods
impl Root
[src]
fn new(json: Root) -> Self
Constructs a Camera
.
fn as_json(&self) -> &Root
Returns the internal JSON item.
fn extensions_used<'a>(&'a self) -> Extensions<'a>
Returns the extensions referenced in this .gltf file.
fn extensions_required<'a>(&'a self) -> Extensions<'a>
Returns the extensions required to load and render this asset.
Trait Implementations
impl Clone for Root
[src]
fn clone(&self) -> Root
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more