Struct amethyst_utils::scene::BasicScenePrefab[][src]

pub struct BasicScenePrefab<V, M = ObjFormat> where
    M: Format<Mesh>,
    M::Options: DeserializeOwned + Serialize
{ /* fields omitted */ }

Basic Prefab scene node, meant to be used for fast prototyping, and most likely replaced for more complex scenarios.

Type parameters:

V: Vertex format to use for generated Meshes, must to be one of: * Vec<PosTex> * Vec<PosNormTex> * Vec<PosNormTangTex> * ComboMeshCreator

Trait Implementations

impl<V, M> Default for BasicScenePrefab<V, M> where
    M: Format<Mesh>,
    M::Options: DeserializeOwned + Serialize
[src]

Returns the "default value" for a type. Read more

impl<'a, V, M> PrefabData<'a> for BasicScenePrefab<V, M> where
    M: Format<Mesh> + Clone,
    M::Options: DeserializeOwned + Serialize + Clone,
    V: From<InternalShape> + Into<MeshData>, 
[src]

SystemData needed to perform the load

The result type returned by the load operation

Load the data for this prefab onto the given Entity Read more

Trigger asset loading for any sub assets. Read more

Auto Trait Implementations

impl<V, M> Send for BasicScenePrefab<V, M> where
    V: Send,
    <M as Format<Mesh>>::Options: Send

impl<V, M> Sync for BasicScenePrefab<V, M> where
    M: Sync,
    V: Sync,
    <M as Format<Mesh>>::Options: Sync