Blender  V3.3
Functions
armature_pose.cc File Reference
#include "BKE_action.hh"
#include "BKE_animsys.h"
#include "BKE_armature.hh"
#include "BLI_function_ref.hh"
#include "BLI_set.hh"
#include "DNA_action_types.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_object_types.h"
#include "RNA_access.h"

Go to the source code of this file.

Functions

void BKE_pose_apply_action_selected_bones (struct Object *ob, struct bAction *action, struct AnimationEvalContext *anim_eval_context)
 
void BKE_pose_apply_action_all_bones (struct Object *ob, struct bAction *action, struct AnimationEvalContext *anim_eval_context)
 
void BKE_pose_apply_action_blend (struct Object *ob, struct bAction *action, struct AnimationEvalContext *anim_eval_context, const float blend_factor)
 

Function Documentation

◆ BKE_pose_apply_action_all_bones()

void BKE_pose_apply_action_all_bones ( struct Object ob,
struct bAction action,
struct AnimationEvalContext anim_eval_context 
)

Evaluate the action and apply it to the pose. Ignore selection state of the bones.

Definition at line 53 of file armature_pose.cc.

References animsys_evaluate_action(), Object::id, and RNA_id_pointer_create().

Referenced by action_preview_render_prepare().

◆ BKE_pose_apply_action_blend()

void BKE_pose_apply_action_blend ( struct Object ob,
struct bAction action,
struct AnimationEvalContext anim_eval_context,
const float  blend_factor 
)

Definition at line 62 of file armature_pose.cc.

References animsys_blend_in_action(), and ptr.

Referenced by poselib_blend_apply().

◆ BKE_pose_apply_action_selected_bones()

void BKE_pose_apply_action_selected_bones ( struct Object ob,
struct bAction action,
struct AnimationEvalContext anim_eval_context 
)

Evaluate the action and apply it to the pose. If any pose bones are selected, only FCurves that relate to those bones are evaluated.

Definition at line 41 of file armature_pose.cc.

References animsys_evaluate_action(), and ptr.