classref: Sync with current master branch (0bcc0e9)

This commit is contained in:
Godot Organization
2024-01-20 03:19:42 +00:00
parent 0e05624130
commit c535239607
59 changed files with 1311 additions and 176 deletions

View File

@@ -113,7 +113,7 @@ Runs when converting the data from a Godot scene node. This method can be used t
Part of the export process. This method is run after :ref:`_get_saveable_image_formats<class_GLTFDocumentExtension_private_method__get_saveable_image_formats>` and before :ref:`_export_post<class_GLTFDocumentExtension_private_method__export_post>`. If this **GLTFDocumentExtension** is used for exporting images, this runs after :ref:`_serialize_texture_json<class_GLTFDocumentExtension_private_method__serialize_texture_json>`.
This method can be used to modify the final JSON of each node.
This method can be used to modify the final JSON of each node. Data should be primarily stored in ``gltf_node`` prior to serializing the JSON, but the original Godot ``node`` is also provided if available. The node may be null if not available, such as when exporting GLTF data not generated from a Godot scene.
.. rst-class:: classref-item-separator
@@ -253,7 +253,7 @@ This method can be used to modify the final Godot scene generated by the import
Part of the import process. This method is run after :ref:`_parse_node_extensions<class_GLTFDocumentExtension_private_method__parse_node_extensions>` and before :ref:`_generate_scene_node<class_GLTFDocumentExtension_private_method__generate_scene_node>`.
This method can be used to modify any of the data imported so far, including any scene nodes, before running the final per-node import step.
This method can be used to modify any of the data imported so far after parsing, before generating the nodes and then running the final per-node import step.
.. rst-class:: classref-item-separator