Struct amethyst_animation::JointPrefab [−][src]
PrefabData for loading Joints
Fields
skin: usize
Index of the Prefab Entity where the Skin is placed.
inverse_bind_matrix: Matrix4<f32>
Inverse bind matrix of the Joint
Trait Implementations
impl Debug for JointPrefab[src]
impl Debug for JointPrefabfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for JointPrefab[src]
impl Clone for JointPrefabfn clone(&self) -> JointPrefab[src]
fn clone(&self) -> JointPrefabReturns 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 JointPrefab[src]
impl<'a> PrefabData<'a> for JointPrefabtype SystemData = WriteStorage<'a, Joint>
SystemData needed to perform the load
type Result = ()
The result type returned by the load operation
fn load_prefab(
&self,
entity: Entity,
storage: &mut Self::SystemData,
entities: &[Entity]
) -> Result<(), PrefabError>[src]
fn load_prefab(
&self,
entity: Entity,
storage: &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 JointPrefab
impl Send for JointPrefabimpl Sync for JointPrefab
impl Sync for JointPrefab