godot/modules/gltf
demolke c409e6d722 Import/export GLTF extras to node->meta
This is useful for custom tagging of objects with properties (for example in Blender) and having this available in the editor for scripting.

- Adds import logic to propagate the parsed GLTF extras all the way to the resulting Node->meta
- Adds export logic to save Godot Object meta into GLTF extras
- Supports `nodes`, `meshes` and `materials` (in GLTF sense of the words)
2024-08-29 19:17:04 +02:00
..
doc_classes Add get_supported_gltf_extensions to GLTFDocument 2024-08-28 17:54:45 -07:00
editor ResourceImporterScene: Replace animation bool with an import type string enum 2024-08-27 14:58:18 -07:00
extensions GLTF: Only create MeshInstance3D when needed 2024-08-27 04:23:20 -07:00
structures Change capitalization of glTF in errors and comments. 2024-08-15 18:07:30 -07:00
tests Import/export GLTF extras to node->meta 2024-08-29 19:17:04 +02:00
config.py
gltf_defines.h
gltf_document.cpp Import/export GLTF extras to node->meta 2024-08-29 19:17:04 +02:00
gltf_document.h Add get_supported_gltf_extensions to GLTFDocument 2024-08-28 17:54:45 -07:00
gltf_state.cpp
gltf_state.h
gltf_template_convert.h
README.md Fix glTF capitalization in class reference 2024-08-15 10:41:47 -07:00
register_types.cpp
register_types.h
SCsub
skin_tool.cpp
skin_tool.h

Godot glTF import and export module

In a nutshell, the glTF module works like this:

  • The structures/ folder contains glTF structures, the small pieces that make up a glTF file, represented as C++ classes.
  • The extensions/ folder contains glTF extensions, which are optional features that build on top of the base glTF spec.
  • GLTFState holds collections of structures and extensions.
  • GLTFDocument operates on GLTFState and its elements.
  • The editor/ folder uses GLTFDocument to import and export 3D models.