Struct amethyst_ui::UiLayoutSystem [−][src]
pub struct UiLayoutSystem { /* fields omitted */ }Used to initialize the UiTransform and Anchored offsets when using the Anchored component.
Methods
impl UiLayoutSystem[src]
impl UiLayoutSystemTrait Implementations
impl<'a> System<'a> for UiLayoutSystem[src]
impl<'a> System<'a> for UiLayoutSystemtype SystemData = (Entities<'a>, WriteStorage<'a, UiTransform>, WriteStorage<'a, Anchored>, ReadStorage<'a, Parent>, ReadExpect<'a, ScreenDimensions>)
The resource bundle required to execute this system. Read more
fn run(
&mut self,
(entities, transform, anchor, parent, screen_dim): Self::SystemData
)[src]
fn run(
&mut self,
(entities, transform, anchor, parent, screen_dim): Self::SystemData
)Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
fn running_time(&self) -> RunningTimeReturns 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
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>Return the accessor from the [SystemData].
fn setup(&mut self, res: &mut Resources)
fn setup(&mut self, res: &mut Resources)Sets up the Resources using Self::SystemData::setup.
Auto Trait Implementations
impl Send for UiLayoutSystem
impl Send for UiLayoutSystemimpl Sync for UiLayoutSystem
impl Sync for UiLayoutSystem