Exporting
Exporting: The Basics
The Blender addon includes Bevy Component data when exporting to glTF.
There are two forms of glTF data Blender can export. .glb and .gltf.
.glbis the binary form of the data, its the same data as the.gltfbut wrapped up for production use cases..gltfis a JSON file with a sidecar binary blob that contains vertex and other data.
Assuming we've set up Scenes in Blender, we'll export a single glTF file.
Exporting glTF
In the file menu choose gltf from the Export menu

If you want to look at the output, then pick .gltf. For production you'll want .glb.

The exported data
Assuming we inserted a Component named Character structured like this
struct Character {
name: String
}
Then the exported .gltf file with one Component that was applied to a Blender Empty Object would look like this:
{
"asset": {
"generator": "Khronos glTF Blender I/O v4.2.57",
"version": "2.0"
},
"scene": 0,
"scenes": [
{
"name": "Scene",
"nodes": [0]
}
],
"nodes": [
{
"extras": {
"skein": [
{
"event_ordering::Character": {
"name": "Hollow Knight"
}
}
]
},
"name": "Empty"
}
]
}