Struct amethyst_ui::UiTransformSystem [−][src]
pub struct UiTransformSystem { /* fields omitted */ }
Manages the Parent
component on entities having UiTransform
It does almost the same as the TransformSystem
, but with some differences,
like UiTransform
alignment and stretching.
Trait Implementations
impl Default for UiTransformSystem
[src]
impl Default for UiTransformSystem
fn default() -> UiTransformSystem
[src]
fn default() -> UiTransformSystem
Returns the "default value" for a type. Read more
impl<'a> System<'a> for UiTransformSystem
[src]
impl<'a> System<'a> for UiTransformSystem
type SystemData = (Entities<'a>, WriteStorage<'a, UiTransform>, ReadStorage<'a, Parent>, ReadExpect<'a, ScreenDimensions>, ReadExpect<'a, ParentHierarchy>)
The resource bundle required to execute this system. Read more
fn run(&mut self, data: Self::SystemData)
[src]
fn run(&mut self, data: Self::SystemData)
Executes the system with the required system data. Read more
fn setup(&mut self, res: &mut Resources)
[src]
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
fn running_time(&self) -> RunningTime
[src]
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
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
[src]
fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
Return the accessor from the SystemData
.
Auto Trait Implementations
impl Send for UiTransformSystem
impl Send for UiTransformSystem
impl Sync for UiTransformSystem
impl Sync for UiTransformSystem