Struct amethyst_gltf::GltfSceneAsset
[−]
[src]
pub struct GltfSceneAsset { pub nodes: Vec<GltfNode>, pub scenes: Vec<GltfScene>, pub materials: Vec<GltfMaterial>, pub animations: Vec<GltfAnimation>, pub default_scene: Option<usize>, pub options: GltfSceneOptions, }
Actual asset produced on finished loading of a GLTF scene file.
Fields
nodes: Vec<GltfNode>
scenes: Vec<GltfScene>
materials: Vec<GltfMaterial>
animations: Vec<GltfAnimation>
default_scene: Option<usize>
options: GltfSceneOptions
Trait Implementations
impl Debug for GltfSceneAsset
[src]
impl Into<Result<GltfSceneAsset, AssetError>> for GltfSceneAsset
[src]
fn into(self) -> Result<GltfSceneAsset, AssetError>
[src]
Performs the conversion.
impl Asset for GltfSceneAsset
[src]
type Data = Self
The Data
type the asset can be created from.
type HandleStorage = VecStorage<Handle<Self>>
The ECS storage type to be used. You'll want to use VecStorage
in most cases.