Struct amethyst_ui::UiSystem
[−]
[src]
pub struct UiSystem { /* fields omitted */ }
This system processes the underlying UI data as needed.
Methods
impl UiSystem
[src]
fn new(reader: ReaderId<Event>) -> Self
[src]
Initializes a new UiSystem that uses the given reader id.
Trait Implementations
impl<'a> System<'a> for UiSystem
[src]
type SystemData = (Entities<'a>, WriteStorage<'a, UiText>, WriteStorage<'a, TextEditing>, ReadStorage<'a, UiTransform>, FetchMut<'a, UiFocused>, Fetch<'a, EventChannel<Event>>, Fetch<'a, Time>)
The resource bundle required to execute this system. Read more
fn run(
&mut self,
(entities, text, editable, transform, focused, events, time): Self::SystemData
)
[src]
&mut self,
(entities, text, editable, transform, focused, events, time): 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