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]
impl Clone for GltfSceneFormat
fn clone(&self) -> GltfSceneFormat
[src]
fn clone(&self) -> GltfSceneFormat
Returns 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 Debug for GltfSceneFormat
[src]
impl Debug for GltfSceneFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Format<Prefab<GltfPrefab>> for GltfSceneFormat
[src]
impl Format<Prefab<GltfPrefab>> for GltfSceneFormat
const NAME: &'static str
NAME: &'static str = "GLTFScene"
A unique identifier for this format.
type Options = GltfSceneOptions
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
fn import(
&self,
name: String,
source: Arc<Source>,
options: GltfSceneOptions,
_create_reload: bool
) -> AssetResult<FormatValue<Prefab<GltfPrefab>>>
[src]
fn import(
&self,
name: String,
source: Arc<Source>,
options: GltfSceneOptions,
_create_reload: bool
) -> AssetResult<FormatValue<Prefab<GltfPrefab>>>
Reads the given bytes and produces asset data. Read more
Auto Trait Implementations
impl Send for GltfSceneFormat
impl Send for GltfSceneFormat
impl Sync for GltfSceneFormat
impl Sync for GltfSceneFormat