diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2024-05-23 08:40:26 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2024-05-23 09:09:36 -0700 |
commit | 24f56008ac510f4eaff8889fd8f2f00eb15c7446 (patch) | |
tree | 48aa7bc93120b2134bd933d38b8d779835686285 /modules/gltf/gltf_state.h | |
parent | b947c53ddc08d4314b2ce70ca1bc2adb37b83c37 (diff) | |
download | redot-engine-24f56008ac510f4eaff8889fd8f2f00eb15c7446.tar.gz |
Add bake_fps for FBXDocument, GLTFDocument and both import-export.
Diffstat (limited to 'modules/gltf/gltf_state.h')
-rw-r--r-- | modules/gltf/gltf_state.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gltf/gltf_state.h b/modules/gltf/gltf_state.h index c9efffa3ae..07efafe13b 100644 --- a/modules/gltf/gltf_state.h +++ b/modules/gltf/gltf_state.h @@ -57,6 +57,7 @@ protected: int minor_version = 0; String copyright; Vector<uint8_t> glb_data; + double bake_fps = 30.0; bool use_named_skin_binds = false; bool use_khr_texture_transform = false; @@ -108,6 +109,14 @@ protected: static void _bind_methods(); public: + double get_bake_fps() const { + return bake_fps; + } + + void set_bake_fps(double value) { + bake_fps = value; + } + void add_used_extension(const String &p_extension, bool p_required = false); GLTFBufferViewIndex append_data_to_buffers(const Vector<uint8_t> &p_data, const bool p_deduplication); |