summaryrefslogtreecommitdiff
path: root/modules/gltf/doc_classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-24 18:54:25 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-24 18:54:25 +0100
commit06bdc91afd1579cfe8fd5e13781c717c2cd9f2a1 (patch)
treea14442afba31e3ee51b65ea7c6501abb203a7354 /modules/gltf/doc_classes
parent1fa80bf9d64ec4eb3fcca0cb6df1dd9a9a1f3eb8 (diff)
parentbaab97302acf1256a3ef974ff7623fa1a353ebab (diff)
Merge pull request #69083 from fire/abstract_gltf_material
Cache materials in gltf as the abstract class of Material in GLTFDocument
Diffstat (limited to 'modules/gltf/doc_classes')
-rw-r--r--modules/gltf/doc_classes/GLTFState.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gltf/doc_classes/GLTFState.xml b/modules/gltf/doc_classes/GLTFState.xml
index d0740cf7ca..9a554a0d49 100644
--- a/modules/gltf/doc_classes/GLTFState.xml
+++ b/modules/gltf/doc_classes/GLTFState.xml
@@ -66,7 +66,7 @@
</description>
</method>
<method name="get_materials">
- <return type="BaseMaterial3D[]" />
+ <return type="Material[]" />
<description>
</description>
</method>
@@ -169,7 +169,7 @@
</method>
<method name="set_materials">
<return type="void" />
- <param index="0" name="materials" type="BaseMaterial3D[]" />
+ <param index="0" name="materials" type="Material[]" />
<description>
</description>
</method>