Files
godot-docs/classes/class_gltfdocumentextension.rst
2021-11-15 12:28:38 +01:00

110 lines
7.5 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the GLTFDocumentExtension.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_GLTFDocumentExtension:
GLTFDocumentExtension
=====================
**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
**Inherited By:** :ref:`GLTFDocumentExtensionConvertImporterMesh<class_GLTFDocumentExtensionConvertImporterMesh>`
Methods
-------
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`export_post<class_GLTFDocumentExtension_method_export_post>` **(** :ref:`GLTFDocument<class_GLTFDocument>` document **)** |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`export_preflight<class_GLTFDocumentExtension_method_export_preflight>` **(** :ref:`GLTFDocument<class_GLTFDocument>` document, :ref:`Node<class_Node>` node **)** |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Variant<class_Variant>` | :ref:`get_export_setting<class_GLTFDocumentExtension_method_get_export_setting>` **(** :ref:`StringName<class_StringName>` key **)** |const| |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_Array>` | :ref:`get_export_setting_keys<class_GLTFDocumentExtension_method_get_export_setting_keys>` **(** **)** |const| |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Variant<class_Variant>` | :ref:`get_import_setting<class_GLTFDocumentExtension_method_get_import_setting>` **(** :ref:`StringName<class_StringName>` key **)** |const| |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Array<class_Array>` | :ref:`get_import_setting_keys<class_GLTFDocumentExtension_method_get_import_setting_keys>` **(** **)** |const| |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`import_post<class_GLTFDocumentExtension_method_import_post>` **(** :ref:`GLTFDocument<class_GLTFDocument>` document, :ref:`Node<class_Node>` node **)** |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`import_preflight<class_GLTFDocumentExtension_method_import_preflight>` **(** :ref:`GLTFDocument<class_GLTFDocument>` document **)** |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_export_setting<class_GLTFDocumentExtension_method_set_export_setting>` **(** :ref:`StringName<class_StringName>` key, :ref:`Variant<class_Variant>` value **)** |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_import_setting<class_GLTFDocumentExtension_method_set_import_setting>` **(** :ref:`StringName<class_StringName>` key, :ref:`Variant<class_Variant>` value **)** |
+---------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Method Descriptions
-------------------
.. _class_GLTFDocumentExtension_method_export_post:
- :ref:`Error<enum_@GlobalScope_Error>` **export_post** **(** :ref:`GLTFDocument<class_GLTFDocument>` document **)**
----
.. _class_GLTFDocumentExtension_method_export_preflight:
- :ref:`Error<enum_@GlobalScope_Error>` **export_preflight** **(** :ref:`GLTFDocument<class_GLTFDocument>` document, :ref:`Node<class_Node>` node **)**
----
.. _class_GLTFDocumentExtension_method_get_export_setting:
- :ref:`Variant<class_Variant>` **get_export_setting** **(** :ref:`StringName<class_StringName>` key **)** |const|
----
.. _class_GLTFDocumentExtension_method_get_export_setting_keys:
- :ref:`Array<class_Array>` **get_export_setting_keys** **(** **)** |const|
----
.. _class_GLTFDocumentExtension_method_get_import_setting:
- :ref:`Variant<class_Variant>` **get_import_setting** **(** :ref:`StringName<class_StringName>` key **)** |const|
----
.. _class_GLTFDocumentExtension_method_get_import_setting_keys:
- :ref:`Array<class_Array>` **get_import_setting_keys** **(** **)** |const|
----
.. _class_GLTFDocumentExtension_method_import_post:
- :ref:`Error<enum_@GlobalScope_Error>` **import_post** **(** :ref:`GLTFDocument<class_GLTFDocument>` document, :ref:`Node<class_Node>` node **)**
----
.. _class_GLTFDocumentExtension_method_import_preflight:
- :ref:`Error<enum_@GlobalScope_Error>` **import_preflight** **(** :ref:`GLTFDocument<class_GLTFDocument>` document **)**
----
.. _class_GLTFDocumentExtension_method_set_export_setting:
- void **set_export_setting** **(** :ref:`StringName<class_StringName>` key, :ref:`Variant<class_Variant>` value **)**
----
.. _class_GLTFDocumentExtension_method_set_import_setting:
- void **set_import_setting** **(** :ref:`StringName<class_StringName>` key, :ref:`Variant<class_Variant>` value **)**
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`