Blender V5.0
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 [258]
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

◆ actend

◆ action_slot_handle

◆ actstart

◆ 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_recalculate_blend(), BKE_nlastrip_validate_autoblends(), nla_draw_strip_curves(), nlastrip_get_influence(), and blender::bke::tests::TEST().

◆ blendmode

◆ blendout

◆ end

float NlaStrip::end

Definition at line 461 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), BKE_nla_add_soundstrip(), BKE_nlameta_add_strip(), BKE_nlameta_flush_transforms(), BKE_nlastrip_compute_frame_from_previous_strip(), BKE_nlastrip_compute_frame_to_next_strip(), BKE_nlastrip_distance_to_frame(), BKE_nlastrip_recalculate_blend(), BKE_nlastrip_recalculate_bounds(), BKE_nlastrip_validate_autoblends(), BKE_nlastrip_within_bounds(), BKE_nlastrips_add_strip(), BKE_nlastrips_make_metas(), BKE_nlatrack_get_bounds(), get_visible_nla_strips(), nla_draw_strip(), nla_draw_strip_curves(), nla_draw_strip_frames_text(), nlaedit_add_actionclip_exec(), nlaedit_add_sound_exec(), nlaedit_add_transition_exec(), nlaedit_split_strip_actclip(), nlaedit_swap_exec(), nlastrip_evaluate_meta(), blender::ed::transform::nlastrip_fix_overlapping(), nlastrip_fix_resize_overlaps(), nlastrip_get_endpoint_overlaps(), nlastrip_get_frame_actionclip(), nlastrip_get_frame_transition(), nlastrip_get_influence(), blender::ed::transform::nlastrip_is_overlap(), nlastrip_set_initial_length(), blender::ed::transform::nlastrip_shuffle_transformed(), nlastrip_validate_transition_start_end(), nlastrips_ctime_get_strip(), blender::ed::object::object_speaker_add_exec(), blender::ed::transform::recalcData_nla(), blender::animrig::tests::KeyframingTest::SetUp(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::animrig::nla::tests::TEST_F(), and blender::ed::transform::transdata_get_time_shuffle_offset_side().

◆ extendmode

◆ fcurves

◆ flag

◆ influence

◆ last_slot_identifier

char NlaStrip::last_slot_identifier[258]

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::assign_action(), blender::animrig::nla::assign_action_slot(), blender::animrig::foreach_action_slot_use_with_references(), blender::animrig::foreach_action_slot_use_with_rna(), long_id_names_process_action_slots_identifiers(), blender::animrig::nla::tests::TEST_F(), blender::animrig::nla::tests::TEST_F(), and blender::animrig::nla::unassign_action().

◆ 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(), BKE_nlastrip_free(), fmodifier_list_space_specific(), nla_panel_modifiers(), nlastrip_evaluate_actionclip(), nlastrip_evaluate_meta(), and nlastrip_evaluate_transition().

◆ name

◆ next

◆ orig_strip

struct NlaStrip* NlaStrip::orig_strip

Definition at line 490 of file DNA_anim_types.h.

Referenced by animsys_construct_orig_pointer_rna().

◆ 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_nla_add_soundstrip(), BKE_nlastrip_recalculate_bounds(), BKE_nlastrips_make_metas(), nla_draw_strip(), nlaedit_add_transition_exec(), nlastrip_get_frame_actionclip(), and nlastrip_new().

◆ scale

◆ speaker_handle

void* NlaStrip::speaker_handle

Handle for speaker objects.

Definition at line 483 of file DNA_anim_types.h.

◆ start

float NlaStrip::start

Extents of the strip.

Definition at line 461 of file DNA_anim_types.h.

Referenced by animsys_create_action_track_strip(), BKE_nlameta_add_strip(), BKE_nlameta_flush_transforms(), BKE_nlastrip_compute_frame_from_previous_strip(), BKE_nlastrip_compute_frame_to_next_strip(), BKE_nlastrip_distance_to_frame(), BKE_nlastrip_recalculate_blend(), BKE_nlastrip_recalculate_bounds(), BKE_nlastrip_recalculate_bounds_sync_action(), BKE_nlastrip_validate_autoblends(), BKE_nlastrip_validate_fcurves(), BKE_nlastrip_within_bounds(), BKE_nlastrips_add_strip(), BKE_nlastrips_add_strip_unsafe(), BKE_nlastrips_make_metas(), BKE_nlastrips_sort_strips(), BKE_nlatrack_get_bounds(), get_visible_nla_strips(), nla_draw_strip(), nla_draw_strip_curves(), nla_draw_strip_frames_text(), nlaedit_add_actionclip_exec(), nlaedit_add_sound_exec(), nlaedit_add_transition_exec(), nlaedit_split_strip_actclip(), nlaedit_swap_exec(), nlastrip_evaluate_meta(), blender::ed::transform::nlastrip_fix_overlapping(), nlastrip_fix_resize_overlaps(), nlastrip_get_endpoint_overlaps(), nlastrip_get_frame_actionclip(), nlastrip_get_frame_transition(), nlastrip_get_influence(), blender::ed::transform::nlastrip_is_overlap(), blender::ed::transform::nlastrip_overlap_reorder(), nlastrip_set_initial_length(), blender::ed::transform::nlastrip_shuffle_transformed(), nlastrip_validate_transition_start_end(), nlastrips_ctime_get_strip(), blender::ed::object::object_speaker_add_exec(), blender::ed::transform::recalcData_nla(), blender::animrig::tests::KeyframingTest::SetUp(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::bke::tests::TEST(), blender::animrig::nla::tests::TEST_F(), and blender::ed::transform::transdata_get_time_shuffle_offset_side().

◆ 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_actionclip(), nlastrip_evaluate_controls(), nlastrip_evaluate_transition(), and nlastrips_ctime_get_strip().

◆ strips

◆ type


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