Blender V5.0
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
20PointerRNA rna_generic_action_slot_get(bAction *dna_action,
21 const blender::animrig::slot_handle_t slot_handle);
22
28void rna_generic_action_slot_set(PointerRNA rna_slot_to_assign,
29 ID &animated_id,
30 bAction *&action_ptr_ref,
31 blender::animrig::slot_handle_t &slot_handle_ref,
32 char *slot_name,
33 ReportList *reports);
34
41void rna_generic_action_slot_handle_set(blender::animrig::slot_handle_t slot_handle_to_assign,
42 ID &animated_id,
43 bAction *&action_ptr_ref,
44 blender::animrig::slot_handle_t &slot_handle_ref,
45 char *slot_name);
46
53void rna_iterator_generic_action_suitable_slots_begin(CollectionPropertyIterator *iter,
54 PointerRNA *owner_ptr,
55 bAction *assigned_action);
56
72void rna_generic_action_slot_handle_override_diff(Main *bmain,
74 const bAction *action_a,
75 const bAction *action_b);
76
77#endif /* RNA_RUNTIME */
decltype(::ActionSlot::handle) slot_handle_t
Definition DNA_ID.h:414