Struct specs_camera::Camera2DSystem
[−]
[src]
pub struct Camera2DSystem<T: 'static + Sync + Send + Copy + Float> { /* fields omitted */ }
Methods
impl<T: 'static + Sync + Send + Copy + Float> Camera2DSystem<T>
[src]
Trait Implementations
impl<'a, T: 'static + Sync + Send + Copy + Float> System<'a> for Camera2DSystem<T>
[src]
type SystemData = (Fetch<'a, ScreenSize>, ReadStorage<'a, Transform2D<T>>, WriteStorage<'a, Camera2D<T>>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (screen_size, transforms, cameras): Self::SystemData)
[src]
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more