Struct gltf::camera::Camera
[−]
[src]
pub struct Camera<'a> { /* fields omitted */ }
A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene.
Methods
impl<'a> Camera<'a>
[src]
fn index(&self) -> usize
[src]
Returns the internal JSON index.
fn projection(&self) -> Projection
[src]
Returns the camera's projection.
fn extras(&self) -> &Extras
[src]
Optional application specific data.
Trait Implementations
impl<'a> Clone for Camera<'a>
[src]
fn clone(&self) -> Camera<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more