[][src]Trait bevy_render::camera::CameraProjection

pub trait CameraProjection {
    fn get_projection_matrix(&self) -> Mat4;
fn update(&mut self, width: usize, height: usize);
fn depth_calculation(&self) -> DepthCalculation; }

Required methods

fn get_projection_matrix(&self) -> Mat4

fn update(&mut self, width: usize, height: usize)

fn depth_calculation(&self) -> DepthCalculation

Loading content...

Implementors

impl CameraProjection for OrthographicProjection[src]

impl CameraProjection for PerspectiveProjection[src]

Loading content...