Struct gltf_json::camera::Perspective[][src]

pub struct Perspective {
    pub aspect_ratio: Option<f32>,
    pub yfov: f32,
    pub zfar: Option<f32>,
    pub znear: f32,
    pub extensions: Perspective,
    pub extras: Extras,
}

Values for a perspective camera.

Fields

Aspect ratio of the field of view.

The vertical field of view in radians.

The distance to the far clipping plane.

The distance to the near clipping plane.

Extension specific data.

Optional application specific data.

Trait Implementations

impl Clone for Perspective
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Perspective
[src]

Formats the value using the given formatter. Read more

impl Validate for Perspective
[src]

Validates the data against the glTF 2.0 specification. Read more

Validates only the invariants required for the library to function safely.

Auto Trait Implementations

impl Send for Perspective

impl Sync for Perspective