[][src]Struct amethyst_animation::SkinPrefab

pub struct SkinPrefab {
    pub joints: Vec<usize>,
    pub bind_shape_matrix: Matrix4<f32>,
    pub meshes: Vec<usize>,
    pub inverse_bind_matrices: Vec<Matrix4<f32>>,

PrefabData for loading Skins


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

inverse_bind_matrices: Vec<Matrix4<f32>>

Inverse bind matrices of the Joints

Trait Implementations

impl Clone for SkinPrefab[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for SkinPrefab[src]

impl Serialize for SkinPrefab[src]

impl<'de> Deserialize<'de> for SkinPrefab[src]

impl<'a> PrefabData<'a> for SkinPrefab[src]

type SystemData = WriteStorage<'a, Skin>

SystemData needed to perform the load

type Result = ()

The result type returned by the load operation

fn load_sub_assets(
    &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 Sync for SkinPrefab

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Resource for T where
    T: Any + Send + Sync

impl<T> Any for T where
    T: Any

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> Erased for T

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.