summaryrefslogtreecommitdiffstats
path: root/scene/resources/animation.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/animation.h')
-rw-r--r--scene/resources/animation.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/resources/animation.h b/scene/resources/animation.h
index d3df8d03e5..c72327e464 100644
--- a/scene/resources/animation.h
+++ b/scene/resources/animation.h
@@ -75,6 +75,7 @@ public:
LOOP_PINGPONG,
};
+ // LoopedFlag is used in Animataion to "process the keys at both ends correct".
enum LoopedFlag {
LOOPED_FLAG_NONE,
LOOPED_FLAG_END,
@@ -187,6 +188,7 @@ private:
};
/* BEZIER TRACK */
+
struct BezierKey {
Vector2 in_handle; // Relative (x always <0)
Vector2 out_handle; // Relative (x always >0)
@@ -223,7 +225,7 @@ private:
}
};
- /* AUDIO TRACK */
+ /* ANIMATION TRACK */
struct AnimationTrack : public Track {
Vector<TKey<StringName>> values;