Struct amethyst_animation::SkinPrefab [−][src]
pub struct SkinPrefab {
pub joints: Vec<usize>,
pub bind_shape_matrix: Matrix4<f32>,
pub meshes: Vec<usize>,
}PrefabData for loading Skins
Fields
joints: Vec<usize>
Indices of Entitys in the Prefab which have Joints belonging to this Skin
bind_shape_matrix: Matrix4<f32>
The bind shape matrix of the Skin
meshes: Vec<usize>
Indices of the Entitys in the Prefab which have Meshs using this Skin
Trait Implementations
impl Debug for SkinPrefab[src]
impl Debug for SkinPrefabfn 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 SkinPrefab[src]
impl Clone for SkinPrefabfn clone(&self) -> SkinPrefab[src]
fn clone(&self) -> SkinPrefabReturns 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 SkinPrefab[src]
impl<'a> PrefabData<'a> for SkinPrefabtype SystemData = WriteStorage<'a, Skin>
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 SkinPrefab
impl Send for SkinPrefabimpl Sync for SkinPrefab
impl Sync for SkinPrefab