Blender V4.5
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)
 

Function Documentation

◆ assign_action()

bool blender::animrig::nla::assign_action ( NlaStrip & strip,
Action & action,
ID & animated_id )

◆ 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 58 of file animrig/intern/nla.cc.

References BLI_assert, blender::animrig::generic_assign_action_slot(), and strip.

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

◆ assign_action_slot_handle()

ActionSlotAssignmentResult blender::animrig::nla::assign_action_slot_handle ( NlaStrip & strip,
slot_handle_t slot_handle,
ID & animated_id )

◆ unassign_action()

void blender::animrig::nla::unassign_action ( NlaStrip & strip,
ID & animated_id )