Blender V5.3
ANIM_nla.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include "ANIM_action.hh"
12
13namespace blender {
14
15struct ID;
16struct NlaStrip;
17
18namespace animrig::nla {
19
29bool assign_action(NlaStrip &strip, Action &action, ID &animated_id);
30
31void unassign_action(NlaStrip &strip, ID &animated_id);
32
42 Slot *slot_to_assign,
43 ID &animated_id);
44
46 slot_handle_t slot_handle,
47 ID &animated_id);
48
62 PointerRNA ptr,
63 PropertyRNA *prop,
64 FCurve *fcu,
65 const AnimationEvalContext *anim_eval_context,
67 NlaKeyframingContext *nla_context,
68 eInsertKeyFlags flag);
69} // namespace animrig::nla
70} // namespace blender
Functions and classes to work with Actions.
void unassign_action(NlaStrip &strip, ID &animated_id)
ActionSlotAssignmentResult assign_action_slot_handle(NlaStrip &strip, slot_handle_t slot_handle, ID &animated_id)
bool assign_action(NlaStrip &strip, Action &action, ID &animated_id)
ActionSlotAssignmentResult assign_action_slot(NlaStrip &strip, Slot *slot_to_assign, ID &animated_id)
bool insert_keyframe_direct(ReportList *reports, PointerRNA ptr, PropertyRNA *prop, FCurve *fcu, const AnimationEvalContext *anim_eval_context, eBezTriple_KeyframeType keytype, NlaKeyframingContext *nla_context, eInsertKeyFlags flag)
decltype(blender::ActionSlot::handle) slot_handle_t
BMesh Iterators.