Struct amethyst_gltf::GltfSceneFormat[][src]

pub struct GltfSceneFormat;

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 Clone for GltfSceneFormat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GltfSceneFormat
[src]

Formats the value using the given formatter. Read more

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

NAME: &'static str = "GLTFScene"

A unique identifier for this format.

Options specific to the format, which are passed to import. E.g. for textures this would be stuff like mipmap levels and sampler info. Read more

Reads the given bytes and produces asset data. Read more

Auto Trait Implementations