Module gltf

Source
Expand description

GLTF support.

§Loading GLTF files

Loading GLTF files is accomplished through Stage::load_gltf_document_from_path and Stage::load_gltf_document_from_bytes.

Structs§

Animation
AnimationNode
Animator
Combines NestedTransform and Animation to progress an animation.
GltfCamera
GltfDocument
A loaded GLTF document.
GltfMesh
GltfNode
A node in a GLTF document, ready to be ‘drawn’.
GltfPrimitive
GltfSkin
Keyframe
Tween

Enums§

AnimationError
Interpolation
InterpolationError
StageGltfError
TweenProperties
Holds many keyframes worth of tweening properties.
TweenProperty

Functions§

from_gltf_light_kind
get_vertex_count
gltf_light_intensity_units