pub fn with_target_resolution(self, pixels_per_tile: u32, resolution: [u32; 2]) -> Self {
        let resolution = UVec2::from(resolution);
        self.with_pixels_per_tile(pixels_per_tile)
            .with_tile_count((resolution / pixels_per_tile).into())
    }
/// Camera will be scaled to be as close as possible to the given target resolution given
/// pixels per tile.
Camera will be scaled to be as close as possible to the given target resolution given
pixels per tile.
Camera will be scaled to be as close as possible to the given target resolution given pixels per tile .
pub fn with_target_resolution(self, pixels_per_tile: u32, resolution: [u32; 2]) -> Self {
        let resolution = UVec2::from(resolution);
        self.with_pixels_per_tile(pixels_per_tile)
            .with_tile_count((resolution / pixels_per_tile).into())
    }
pub fn with_target_resolution ( self , pixels_per_tile : u32 , resolution : [ u32 ; 2 ] ) -> Self { let resolution = UVec2 :: from ( resolution ) ; self . with_pixels_per_tile ( pixels_per_tile ) . with_tile_count ( ( resolution / pixels_per_tile ) . into ( ) ) }
Camera will be scaled to be as close as possible to the given target resolution given
pixels per tile.
Camera will be scaled to be as close as possible to the given target resolution given pixels per tile .
self
pixels_per_tile
u32
resolution
[u32; 2]
self
pixels_per_tile
u32
resolution
[u32; 2]