summaryrefslogtreecommitdiff
path: root/modules/gltf/doc_classes
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-09-18 20:35:13 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-09-19 19:40:06 -0500
commit7097e8add71c8ddaf4ff1cc92d84d0266626a528 (patch)
treedc70566c27b40ea6f55204da573dcf6aa193a7ee /modules/gltf/doc_classes
parentb72dc0de89eb11e7afdb3c2e3bae737bea40524f (diff)
Add a way to get the GLTF extensions supported by GLTFDocumentExtension
Diffstat (limited to 'modules/gltf/doc_classes')
-rw-r--r--modules/gltf/doc_classes/GLTFDocumentExtension.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/gltf/doc_classes/GLTFDocumentExtension.xml b/modules/gltf/doc_classes/GLTFDocumentExtension.xml
index 205f6c0f8f..936794976d 100644
--- a/modules/gltf/doc_classes/GLTFDocumentExtension.xml
+++ b/modules/gltf/doc_classes/GLTFDocumentExtension.xml
@@ -30,6 +30,12 @@
<description>
</description>
</method>
+ <method name="_get_supported_extensions" qualifiers="virtual">
+ <return type="PackedStringArray" />
+ <description>
+ Returns an array of the GLTF extensions supported by this GLTFDocumentExtension class. This is used to validate if a GLTF file with required extensions can be loaded.
+ </description>
+ </method>
<method name="_import_node" qualifiers="virtual">
<return type="int" />
<param index="0" name="state" type="GLTFState" />