Struct specs_scene_graph::SceneGraphSystem [−][src]
pub struct SceneGraphSystem<P>(_);
Methods
impl<P> SceneGraphSystem<P>
[src]
impl<P> SceneGraphSystem<P>
Trait Implementations
impl<P> Default for SceneGraphSystem<P>
[src]
impl<P> Default for SceneGraphSystem<P>
impl<'system, P> System<'system> for SceneGraphSystem<P> where
P: Parent,
P::Storage: Default + Tracked,
[src]
impl<'system, P> System<'system> for SceneGraphSystem<P> where
P: Parent,
P::Storage: Default + Tracked,
type SystemData = (Entities<'system>, ReadStorage<'system, P>, Write<'system, SceneGraph<P>, SceneGraphSetupHandler<P>>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (entities, parents, scene_graph): Self::SystemData)
[src]
fn run(&mut self, (entities, parents, scene_graph): Self::SystemData)
Executes the system with the required system data. Read more
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
].
fn setup(&mut self, res: &mut Resources)
[src]
fn setup(&mut self, res: &mut Resources)
Sets up the Resources
using Self::SystemData::setup
.
Auto Trait Implementations
impl<P> Send for SceneGraphSystem<P> where
P: Send,
impl<P> Send for SceneGraphSystem<P> where
P: Send,
impl<P> Sync for SceneGraphSystem<P> where
P: Sync,
impl<P> Sync for SceneGraphSystem<P> where
P: Sync,