Blender V5.3
blender::animrig::nla Namespace Reference

Namespaces

namespace  tests

Functions

bool assign_action (NlaStrip &strip, Action &action, ID &animated_id)
void unassign_action (NlaStrip &strip, ID &animated_id)
ActionSlotAssignmentResult assign_action_slot (NlaStrip &strip, Slot *slot_to_assign, ID &animated_id)
ActionSlotAssignmentResult assign_action_slot_handle (NlaStrip &strip, slot_handle_t slot_handle, ID &animated_id)
bool insert_keyframe_direct (ReportList *reports, PointerRNA ptr, PropertyRNA *prop, FCurve *fcu, const AnimationEvalContext *anim_eval_context, eBezTriple_KeyframeType keytype, NlaKeyframingContext *nla_context, eInsertKeyFlags flag)
static void get_keyframe_values_create_reports (ReportList *reports, const PointerRNA &ptr, const PropertyRNA *prop, const int index, const int count, const bool force_all, const BitSpan successful_remaps)
static BitVector nla_map_keyframe_values_and_generate_reports (const MutableSpan< float > values, const int index, PointerRNA &ptr, PropertyRNA &prop, NlaKeyframingContext *nla_context, const AnimationEvalContext *anim_eval_context, ReportList *reports, bool *force_all)

Function Documentation

◆ assign_action()

◆ assign_action_slot()

ActionSlotAssignmentResult blender::animrig::nla::assign_action_slot ( NlaStrip & strip,
Slot * slot_to_assign,
ID & animated_id )

Assign a slot to the NLA strip.

The strip should already have an Action assigned to it, and the given Slot should belong to that Action.

Parameters
slot_to_assignthe slot to assign, or nullptr to un-assign the current slot.

Definition at line 70 of file animrig/intern/nla.cc.

References blender::NlaStrip::act, blender::NlaStrip::action_slot_handle, assign_action_slot(), blender::BLI_assert(), blender::animrig::generic_assign_action_slot(), and blender::NlaStrip::last_slot_identifier.

Referenced by assign_action(), assign_action_slot(), assign_action_slot_handle(), blender::animrig::nla::tests::TEST_F(), and blender::animrig::nla::tests::TEST_F().

◆ assign_action_slot_handle()

◆ get_keyframe_values_create_reports()

void blender::animrig::nla::get_keyframe_values_create_reports ( ReportList * reports,
const PointerRNA & ptr,
const PropertyRNA * prop,
const int index,
const int count,
const bool force_all,
const BitSpan successful_remaps )
static

◆ insert_keyframe_direct()

bool blender::animrig::nla::insert_keyframe_direct ( ReportList * reports,
PointerRNA ptr,
PropertyRNA * prop,
FCurve * fcu,
const AnimationEvalContext * anim_eval_context,
eBezTriple_KeyframeType keytype,
NlaKeyframingContext * nla_context,
eInsertKeyFlags flag )

◆ nla_map_keyframe_values_and_generate_reports()

BitVector blender::animrig::nla::nla_map_keyframe_values_and_generate_reports ( const MutableSpan< float > values,
const int index,
PointerRNA & ptr,
PropertyRNA & prop,
NlaKeyframingContext * nla_context,
const AnimationEvalContext * anim_eval_context,
ReportList * reports,
bool * force_all )
static

◆ unassign_action()