godot/modules/gltf
Micky 59e11934d8 Rename `str2var` to `str_to_var` and similar
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too.

- `var2str` -> `var_to_str`
- `str2var` -> `str_to_var`
- `bytes2var` -> `bytes_to_var`
- `bytes2var_with_objects` -> `bytes_to_var_with_objects`
- `var2bytes` -> `var_to_bytes`
- `var2bytes_with_objects` -> `var_to_bytes_with_objects`
- `linear2db` -> `linear_to_db`
- `db2linear` -> `db_to_linear`
- `deg2rad` -> `deg_to_rad`
- `rad2deg` -> `rad_to_deg`

- `dict2inst` -> `dict_to_inst`
- `inst2dict` -> `inst_to_dict`
2022-08-26 14:58:22 +02:00
..
doc_classes Replace Array return types with TypedArray 3 2022-08-24 12:53:36 +02:00
editor Prevent AnimationPlayer from being added on GLTF import if the option is unchecked. Fixes #63954 2022-08-10 11:17:29 +02:00
extensions Document GLTFLight and GLTFSpecGloss 2022-08-14 14:57:58 -05:00
structures Rename `str2var` to `str_to_var` and similar 2022-08-26 14:58:22 +02:00
README.md GLTF: Organize structures into a subfolder 2022-07-24 17:16:51 -05:00
SCsub Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
config.py Add fbx2gltf support for importing .fbx files 2022-03-30 15:22:46 +02:00
gltf_defines.h GLTF: Move shared defines into a separate gltf_defines.h file 2022-07-24 14:21:27 -05:00
gltf_document.cpp Rename `str2var` to `str_to_var` and similar 2022-08-26 14:58:22 +02:00
gltf_document.h GLTF: Organize structures into a subfolder 2022-07-24 17:16:51 -05:00
gltf_document_extension.cpp Improve gltf extension GLTFDocument api. 2022-05-20 06:58:48 -07:00
gltf_document_extension.h GLTF: Organize structures into a subfolder 2022-07-24 17:16:51 -05:00
gltf_document_extension_convert_importer_mesh.cpp Improve gltf extension GLTFDocument api. 2022-05-20 06:58:48 -07:00
gltf_document_extension_convert_importer_mesh.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
gltf_state.cpp Replace Array return types with TypedArray 3 2022-08-24 12:53:36 +02:00
gltf_state.h Replace Array return types with TypedArray 3 2022-08-24 12:53:36 +02:00
gltf_template_convert.h Replace Array return types with TypedArray 3 2022-08-24 12:53:36 +02:00
register_types.cpp Fix Blender file path check to require a directory 2022-08-24 16:08:01 -04:00
register_types.h Refactor module initialization 2022-05-04 17:34:51 +02:00

README.md

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.