Blender V4.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
11#include "ANIM_action.hh"
12
13struct ID;
14struct NlaStrip;
15
17
27bool assign_action(NlaStrip &strip, Action &action, ID &animated_id);
28
29void unassign_action(NlaStrip &strip, ID &animated_id);
30
40 Slot *slot_to_assign,
41 ID &animated_id);
42
44 slot_handle_t slot_handle,
45 ID &animated_id);
46
47} // namespace blender::animrig::nla
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)
decltype(::ActionSlot::handle) slot_handle_t
Definition DNA_ID.h:413