Struct specs_camera::CameraSystem
[−]
[src]
pub struct CameraSystem<T> { /* fields omitted */ }
Methods
impl<T> CameraSystem<T>
[src]
impl<T> CameraSystem<T> where
T: 'static + Sync + Send + Copy + Float,
[src]
T: 'static + Sync + Send + Copy + Float,
Trait Implementations
impl<T> Default for CameraSystem<T> where
T: 'static + Sync + Send + Copy + Float,
[src]
T: 'static + Sync + Send + Copy + Float,
impl<'a, T> System<'a> for CameraSystem<T> where
T: 'static + Sync + Send + Copy + Float,
[src]
T: 'static + Sync + Send + Copy + Float,
type SystemData = (Fetch<'a, ScreenSize>, ReadStorage<'a, Transform2D<T>>, ReadStorage<'a, Transform3D<T>>, WriteStorage<'a, Camera2D<T>>, WriteStorage<'a, Camera3D<T>>)
The resource bundle required to execute this system. Read more
fn run(
&mut self,
(size, transforms_2d, transforms_3d, cameras_2d, cameras_3d): Self::SystemData
)
[src]
&mut self,
(size, transforms_2d, transforms_3d, cameras_2d, cameras_3d): Self::SystemData
)
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