194bdde947
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc. |
||
---|---|---|
.. | ||
doc_classes | ||
editor | ||
extensions | ||
structures | ||
tests | ||
config.py | ||
gltf_defines.h | ||
gltf_document.cpp | ||
gltf_document.h | ||
gltf_state.cpp | ||
gltf_state.h | ||
gltf_template_convert.h | ||
README.md | ||
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.