[][src]Struct amethyst_gltf::GltfSceneFormat

pub struct GltfSceneFormat(pub GltfSceneOptions);

Gltf scene format, will load a single scene from a Gltf file.

Using the GltfSceneLoaderSystem a Handle<GltfSceneAsset> from this format can be attached to an entity in ECS, and the system will then load the full scene using the given entity as the root node of the scene hierarchy.

See GltfSceneOptions for more information about the load options.

Trait Implementations

impl Default for GltfSceneFormat[src]

impl Clone for GltfSceneFormat[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GltfSceneFormat[src]

impl Serialize for GltfSceneFormat[src]

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

impl Format<Prefab<GltfPrefab>> for GltfSceneFormat[src]

fn import_simple(&self, _bytes: Vec<u8>) -> Result<D, Error>[src]

Produces asset data from given bytes. This method is a simplified version of format. This format assumes that the asset name is the full path and the asset is only contained in one file. Read more

Auto Trait Implementations

impl Send for GltfSceneFormat

impl Sync for GltfSceneFormat

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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

impl<T> Any for T where
    T: Any

impl<T> TryDefault for T where
    T: Default

fn unwrap_default() -> Self

Calls try_default and panics on an error case.

impl<T> Erased for T

impl<T> Serialize for T where
    T: Serialize + ?Sized
[src]

impl<T> Clone for T where
    T: Clone
[src]

impl<T> Supports<T> for T

impl<T> Config for T where
    T: Deserialize<'a> + Serialize + Default
[src]

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.

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more