Blender V4.5
SEQ_animation.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11#include "DNA_listBase.h"
12
13#include "ANIM_action.hh"
14
15struct ListBase;
16struct Scene;
17struct Strip;
18struct SeqAnimationBackup;
19namespace blender::seq {
20
24void offset_animdata(const Scene *scene, Strip *strip, float ofs);
25
29bool fcurve_matches(const Strip &strip, const FCurve &fcurve);
31 /* `curves` and `channelbag` here represent effectively the same data (the
32 * fcurves that animate the Scene that the sequence belongs to), just for
33 * legacy and layered actions, respectively. Therefore only one or the other
34 * should ever have data stored in them, never both. */
37
39};
52
53} // namespace blender::seq
Functions and classes to work with Actions.
These structs are the foundation for all linked lists in the library system.
Scene scene
bool animation_keyframes_exist(const Scene *scene)
Definition animation.cc:25
void animation_duplicate_backup_to_scene(Scene *scene, Strip *strip, AnimationBackup *backup)
Definition animation.cc:205
void offset_animdata(const Scene *scene, Strip *strip, float ofs)
Definition animation.cc:42
bool animation_drivers_exist(Scene *scene)
Definition animation.cc:31
void free_animdata(Scene *scene, Strip *strip)
Definition animation.cc:74
void animation_backup_original(Scene *scene, AnimationBackup *backup)
Definition animation.cc:91
void animation_restore_original(Scene *scene, AnimationBackup *backup)
Definition animation.cc:113
bool fcurve_matches(const Strip &strip, const FCurve &fcurve)
Definition animation.cc:36
blender::animrig::Channelbag channelbag