Blender V5.3
ANIM_pose.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
10
11#pragma once
12
13#include "ANIM_action.hh"
14#include "BLI_span.hh"
15
16namespace blender {
17
19struct Object;
20struct bAction;
21
22namespace animrig {
23
28 bAction *action,
29 slot_handle_t slot_handle,
30 const AnimationEvalContext *anim_eval_context);
31
37 bAction *action,
38 slot_handle_t slot_handle,
39 const AnimationEvalContext *anim_eval_context,
40 float blend_factor);
41
46 bAction *action,
47 slot_handle_t slot_handle,
48 const AnimationEvalContext *anim_eval_context,
49 float blend_factor);
50
56 Action &pose_action,
57 const AnimationEvalContext *anim_eval_context,
58 float blend_factor);
64
71Slot &get_best_pose_slot_for_id(const ID &id, Action &pose_data);
72} // namespace animrig
73} // namespace blender
Functions and classes to work with Actions.
decltype(blender::ActionSlot::handle) slot_handle_t
void pose_apply_action_all_bones(Object *ob, bAction *action, slot_handle_t slot_handle, const AnimationEvalContext *anim_eval_context)
void pose_apply_action(Span< Object * > objects, Action &pose_action, const AnimationEvalContext *anim_eval_context, float blend_factor)
void pose_apply_action_blend_all_bones(Object *ob, bAction *action, slot_handle_t slot_handle, const AnimationEvalContext *anim_eval_context, float blend_factor)
Definition pose.cc:424
bool any_bone_selected(Span< const Object * > objects)
Slot & get_best_pose_slot_for_id(const ID &id, Action &pose_data)
Definition pose.cc:471
void pose_apply_action_blend(Object *ob, bAction *action, slot_handle_t slot_handle, const AnimationEvalContext *anim_eval_context, float blend_factor)
BMesh Iterators.