Blender V4.3
rna_action_tools.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
13#pragma once
14
15#ifdef WITH_ANIM_BAKLAVA
16# ifdef RNA_RUNTIME
17
21PointerRNA rna_generic_action_slot_get(bAction *dna_action,
22 const blender::animrig::slot_handle_t slot_handle);
23
29void rna_generic_action_slot_set(PointerRNA rna_slot_to_assign,
30 ID &animated_id,
31 bAction *&action_ptr_ref,
32 blender::animrig::slot_handle_t &slot_handle_ref,
33 char *slot_name,
34 ReportList *reports);
35
42void rna_generic_action_slot_handle_set(blender::animrig::slot_handle_t slot_handle_to_assign,
43 ID &animated_id,
44 bAction *&action_ptr_ref,
45 blender::animrig::slot_handle_t &slot_handle_ref,
46 char *slot_name);
47
54void rna_iterator_generic_action_slots_begin(CollectionPropertyIterator *iter,
55 bAction *assigned_action);
56
57# endif /* RNA_RUNTIME */
58#endif /* WITH_ANIM_BAKLAVA */
decltype(::ActionSlot::handle) slot_handle_t
Definition DNA_ID.h:413