summaryrefslogtreecommitdiff
path: root/scene/3d/skeleton_3d.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-27 16:49:18 +0200
committerGitHub <noreply@github.com>2022-07-27 16:49:18 +0200
commited61fb2a8b367d60e5ac0e54e8be5320abfcce80 (patch)
treea8529f1b2ea40f5605c8dde5ba7f769629e350db /scene/3d/skeleton_3d.h
parent4e9640b3ec2bea8e659607137ea87f40c2a7e498 (diff)
parentdde235ad82c7c1ea54ef764056ee5bd3a28a94ab (diff)
Merge pull request #63138 from TokageItLab/normalize-position-track
Add position track normalization to importer retarget
Diffstat (limited to 'scene/3d/skeleton_3d.h')
-rw-r--r--scene/3d/skeleton_3d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/3d/skeleton_3d.h b/scene/3d/skeleton_3d.h
index fcb8774c3d..8b69410a39 100644
--- a/scene/3d/skeleton_3d.h
+++ b/scene/3d/skeleton_3d.h
@@ -146,6 +146,7 @@ private:
bool rest_dirty = false;
bool show_rest_only = false;
+ float motion_scale = 1.0;
uint64_t version = 1;
@@ -211,6 +212,9 @@ public:
bool is_show_rest_only() const;
void clear_bones();
+ void set_motion_scale(float p_motion_scale);
+ float get_motion_scale() const;
+
// posing api
void set_bone_pose_position(int p_bone, const Vector3 &p_position);