Blender V5.0
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 1245 of file DNA_action_types.h.

Member Data Documentation

◆ _pad0

uint8_t ActionStrip::_pad0[3]

Definition at line 1250 of file DNA_action_types.h.

◆ _pad1

uint8_t ActionStrip::_pad1[4]

Definition at line 1275 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 1261 of file DNA_action_types.h.

Referenced by blender::animrig::Strip::create(), blender::animrig::Strip::data(), blender::animrig::Strip::data(), 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 1273 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

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