Struct amethyst_controls::ControlTagPrefab [−][src]
PrefabData
for loading control tags on an Entity
Will always load a FlyControlTag
Fields
arc_ball: Option<(usize, f32)>
Place ArcBallControlTag
on the Entity
Trait Implementations
impl Default for ControlTagPrefab
[src]
impl Default for ControlTagPrefab
fn default() -> ControlTagPrefab
[src]
fn default() -> ControlTagPrefab
Returns the "default value" for a type. Read more
impl Clone for ControlTagPrefab
[src]
impl Clone for ControlTagPrefab
fn clone(&self) -> ControlTagPrefab
[src]
fn clone(&self) -> ControlTagPrefab
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> PrefabData<'a> for ControlTagPrefab
[src]
impl<'a> PrefabData<'a> for ControlTagPrefab
type SystemData = (WriteStorage<'a, FlyControlTag>, WriteStorage<'a, ArcBallControlTag>)
SystemData
needed to perform the load
type Result = ()
The result type returned by the load operation
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
entities: &[Entity]
) -> Result<(), PrefabError>
[src]
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
entities: &[Entity]
) -> Result<(), PrefabError>
Load the data for this prefab onto the given Entity
Read more
fn trigger_sub_loading(
&mut self,
_progress: &mut ProgressCounter,
_system_data: &mut Self::SystemData
) -> Result<bool, Error>
[src]
fn trigger_sub_loading(
&mut self,
_progress: &mut ProgressCounter,
_system_data: &mut Self::SystemData
) -> Result<bool, Error>
Trigger asset loading for any sub assets. Read more
Auto Trait Implementations
impl Send for ControlTagPrefab
impl Send for ControlTagPrefab
impl Sync for ControlTagPrefab
impl Sync for ControlTagPrefab