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 Skin
s
Fields
joints: Vec<usize>
Indices of Entity
s in the Prefab
which have Joint
s belonging to this Skin
bind_shape_matrix: Matrix4<f32>
The bind shape matrix of the Skin
meshes: Vec<usize>
Indices of the Entity
s in the Prefab
which have Mesh
s using this Skin
Trait Implementations
impl Debug for SkinPrefab
[src]
impl Debug for SkinPrefab
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SkinPrefab
[src]
impl Clone for SkinPrefab
fn clone(&self) -> SkinPrefab
[src]
fn clone(&self) -> SkinPrefab
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 SkinPrefab
[src]
impl<'a> PrefabData<'a> for SkinPrefab
type 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 SkinPrefab
impl Sync for SkinPrefab
impl Sync for SkinPrefab