summaryrefslogtreecommitdiffstats
path: root/modules/gltf/gltf_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gltf/gltf_state.h')
-rw-r--r--modules/gltf/gltf_state.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gltf/gltf_state.h b/modules/gltf/gltf_state.h
index c7171e0e68..c9efffa3ae 100644
--- a/modules/gltf/gltf_state.h
+++ b/modules/gltf/gltf_state.h
@@ -64,6 +64,7 @@ protected:
bool force_generate_tangents = false;
bool create_animations = true;
bool force_disable_compression = false;
+ bool import_as_skeleton_bones = false;
int handle_binary_image = HANDLE_BINARY_EXTRACT_TEXTURES;
@@ -213,6 +214,9 @@ public:
bool get_create_animations();
void set_create_animations(bool p_create_animations);
+ bool get_import_as_skeleton_bones();
+ void set_import_as_skeleton_bones(bool p_import_as_skeleton_bones);
+
TypedArray<GLTFAnimation> get_animations();
void set_animations(TypedArray<GLTFAnimation> p_animations);