Struct amethyst_animation::SkinnablePrefab [−][src]
pub struct SkinnablePrefab {
pub skin: Option<SkinPrefab>,
pub joint: Option<JointPrefab>,
pub joint_transforms: Option<JointTransformsPrefab>,
}PrefabData for full skinning support
Fields
skin: Option<SkinPrefab>
Place Skin on the Entity
joint: Option<JointPrefab>
Place Joint on the Entity
joint_transforms: Option<JointTransformsPrefab>
Place JointTransforms on the Entity
Trait Implementations
impl Clone for SkinnablePrefab[src]
impl Clone for SkinnablePrefabfn clone(&self) -> SkinnablePrefab[src]
fn clone(&self) -> SkinnablePrefabReturns 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 Default for SkinnablePrefab[src]
impl Default for SkinnablePrefabfn default() -> SkinnablePrefab[src]
fn default() -> SkinnablePrefabReturns the "default value" for a type. Read more
impl Debug for SkinnablePrefab[src]
impl Debug for SkinnablePrefabfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> PrefabData<'a> for SkinnablePrefab[src]
impl<'a> PrefabData<'a> for SkinnablePrefabtype SystemData = (<SkinPrefab as PrefabData<'a>>::SystemData, <JointPrefab as PrefabData<'a>>::SystemData, <JointTransformsPrefab as PrefabData<'a>>::SystemData)
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 SkinnablePrefab
impl Send for SkinnablePrefabimpl Sync for SkinnablePrefab
impl Sync for SkinnablePrefab