Blender V4.5
NlaStrip Struct Reference

#include <DNA_anim_types.h>

Public Attributes

struct NlaStripnext
 
struct NlaStripprev
 
ListBase strips
 
bActionact
 
int32_t action_slot_handle
 
char last_slot_identifier [66]
 
char _pad0 [2]
 
ListBase fcurves
 
ListBase modifiers
 
char name [64]
 
float influence
 
float strip_time
 
float start
 
float end
 
float actstart
 
float actend
 
float repeat
 
float scale
 
float blendin
 
float blendout
 
short blendmode
 
short extendmode
 
char _pad1 [2]
 
short type
 
void * speaker_handle
 
int flag
 
char _pad2 [4]
 
struct NlaStriporig_strip
 
void * _pad3
 

Detailed Description

NLA Strip (strip)

A NLA Strip is a container for the reuse of Action data, defining parameters to control the remapping of the Action data to some destination.

Definition at line 413 of file DNA_anim_types.h.

Member Data Documentation

◆ _pad0

char NlaStrip::_pad0[2]

Definition at line 445 of file DNA_anim_types.h.

◆ _pad1

char NlaStrip::_pad1[2]

Definition at line 477 of file DNA_anim_types.h.

◆ _pad2

char NlaStrip::_pad2[4]

Definition at line 487 of file DNA_anim_types.h.

◆ _pad3

void* NlaStrip::_pad3

Definition at line 492 of file DNA_anim_types.h.

◆ act

bAction* NlaStrip::act

Action that is referenced by this strip (strip is 'user' of the action).

Note
Most code should not write to this field directly, but use functions from blender::animrig::nla instead, see ANIM_nla.hh.

Definition at line 424 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), BKE_animsys_get_nla_keyframing_context(), BKE_nla_tweakmode_enter(), BKE_nlastrip_copy(), nla_tweakmode_exit_sync_strip_lengths(), and nlastrips_ctime_get_strip().

◆ actend

float NlaStrip::actend

Definition at line 463 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip().

◆ action_slot_handle

int32_t NlaStrip::action_slot_handle

Slot Handle to determine which animation data to look at in act.

An NLA strip is limited to using a single slot in the Action.

Note
Most code should not write to this field directly, but use functions from blender::animrig::nla instead, see ANIM_nla.hh.

Definition at line 434 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), BKE_nla_tweakmode_enter(), BKE_nla_tweakmode_exit(), and blender::animrig::nla::tests::TEST_F().

◆ actstart

float NlaStrip::actstart

Range of the action to use.

Definition at line 463 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), and nlaedit_split_strip_actclip().

◆ blendin

float NlaStrip::blendin

Strip blending length (only used when there are no F-Curves).

Definition at line 471 of file DNA_anim_types.h.

Referenced by BKE_nlastrip_validate_autoblends().

◆ blendmode

short NlaStrip::blendmode

Strip blending mode (layer-based mixing).

Definition at line 473 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), and animsys_evaluate_nla_for_keyframing().

◆ blendout

float NlaStrip::blendout

Definition at line 471 of file DNA_anim_types.h.

Referenced by BKE_nlastrip_validate_autoblends().

◆ end

◆ extendmode

short NlaStrip::extendmode

Strip extrapolation mode (time-based mixing).

Definition at line 476 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), animsys_create_tweak_strip(), and get_visible_nla_strips().

◆ fcurves

ListBase NlaStrip::fcurves

F-Curves for controlling this strip's influence and timing

Definition at line 448 of file DNA_anim_types.h.

Referenced by BKE_nlastrip_copy().

◆ flag

◆ influence

float NlaStrip::influence

◆ last_slot_identifier

char NlaStrip::last_slot_identifier[66]

Slot name, primarily used for mapping to the right slot when assigning another Action. Should be the same type as #ActionSlot::name.

See also
#ActionSlot::name
Note
Most code should not write to this field directly, but use functions from blender::animrig::nla instead, see ANIM_nla.hh.

Definition at line 444 of file DNA_anim_types.h.

Referenced by blender::animrig::nla::tests::TEST_F().

◆ modifiers

ListBase NlaStrip::modifiers

F-Curve modifiers to be applied to the entire strip's referenced F-Curves.

Definition at line 450 of file DNA_anim_types.h.

Referenced by BKE_nlastrip_copy(), and nlastrip_evaluate_transition().

◆ name

char NlaStrip::name[64]

User-Visible Identifier for Strip.

Definition at line 453 of file DNA_anim_types.h.

Referenced by BKE_nla_debug_print_flags(), BKE_nlatrack_find_tweaked(), and nlaedit_swap_exec().

◆ next

◆ orig_strip

struct NlaStrip* NlaStrip::orig_strip

Definition at line 490 of file DNA_anim_types.h.

◆ prev

◆ repeat

float NlaStrip::repeat

The number of times to repeat the action range (only when no F-Curves).

Definition at line 466 of file DNA_anim_types.h.

Referenced by BKE_nlastrips_make_metas().

◆ scale

float NlaStrip::scale

The amount the action range is scaled by (only when no F-Curves).

Definition at line 468 of file DNA_anim_types.h.

Referenced by BKE_nlastrips_make_metas().

◆ speaker_handle

void* NlaStrip::speaker_handle

Handle for speaker objects.

Definition at line 483 of file DNA_anim_types.h.

◆ start

◆ strip_time

float NlaStrip::strip_time

Current 'time' within action being used (automatically evaluated, but can be overridden).

Definition at line 458 of file DNA_anim_types.h.

Referenced by nlastrip_evaluate_transition(), and nlastrips_ctime_get_strip().

◆ strips

◆ type


The documentation for this struct was generated from the following file: