Blender V5.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
12
13#pragma once
14
15#ifdef RNA_RUNTIME
16
17namespace blender {
18
22PointerRNA rna_generic_action_slot_get(bAction *dna_action,
23 const animrig::slot_handle_t slot_handle);
24
30void rna_generic_action_slot_set(PointerRNA rna_slot_to_assign,
31 ID &animated_id,
32 bAction *&action_ptr_ref,
33 animrig::slot_handle_t &slot_handle_ref,
34 char *slot_name,
35 ReportList *reports);
36
43void rna_generic_action_slot_handle_set(animrig::slot_handle_t slot_handle_to_assign,
44 ID &animated_id,
45 bAction *&action_ptr_ref,
46 animrig::slot_handle_t &slot_handle_ref,
47 char *slot_name);
48
55void rna_iterator_generic_action_suitable_slots_begin(CollectionPropertyIterator *iter,
56 PointerRNA *owner_ptr,
57 bAction *assigned_action);
58
74void rna_generic_action_slot_handle_override_diff(Main *bmain,
76 const bAction *action_a,
77 const bAction *action_b);
78
79} // namespace blender
80
81#endif /* RNA_RUNTIME */
decltype(blender::ActionSlot::handle) slot_handle_t
BMesh Iterators.