Blender V4.3
ActionStrip Struct Reference

#include <DNA_action_types.h>

Inherited by blender::animrig::Strip.

Public Attributes

int8_t strip_type
 
uint8_t _pad0 [3]
 
int data_index
 
float frame_start
 
float frame_end
 
float frame_offset
 
uint8_t _pad1 [4]
 

Detailed Description

See also
blender::animrig::Strip

Definition at line 1208 of file DNA_action_types.h.

Member Data Documentation

◆ _pad0

uint8_t ActionStrip::_pad0[3]

Definition at line 1213 of file DNA_action_types.h.

◆ _pad1

uint8_t ActionStrip::_pad1[4]

Definition at line 1238 of file DNA_action_types.h.

◆ data_index

int ActionStrip::data_index

The index of the "strip data" item that this strip uses, in the array of strip data that corresponds to strip_type.

Note that -1 indicates "no data". This is an invalid state outside of specific internal APIs, but it's the default value and therefore helps us catch when strips aren't fully initialized before making their way outside of those APIs.

Definition at line 1224 of file DNA_action_types.h.

Referenced by blender::animrig::Strip::create(), blender::animrig::Strip::data(), blender::animrig::Strip::data(), blender::animrig::Layer::strip_remove(), blender::animrig::tests::TEST_F(), and blender::animrig::tests::TEST_F().

◆ frame_end

◆ frame_offset

float ActionStrip::frame_offset

End frame of the strip, in Animation time. Offset applied to the contents of the strip, in frames.

This offset determines the difference between "Animation time" (which would typically be the same as the scene time, until the animation system supports strips referencing other Actions).

Definition at line 1236 of file DNA_action_types.h.

Referenced by blender::animrig::assert_baklava_phase_1_invariants(), blender::animrig::evaluate_strip(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), and blender::animrig::tests::TEST_F().

◆ frame_start

◆ strip_type

int8_t ActionStrip::strip_type
See also
#blender::animrig::Strip::type()

Definition at line 1212 of file DNA_action_types.h.

Referenced by blender::animrig::Strip::create().


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