Blender V4.3
DNA_nla_types.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "DNA_listBase.h"
12
13struct Ipo;
14struct Object;
15struct bAction;
16
18typedef struct bActionModifier {
20 short type, flag;
21 char channel[32];
22
23 /* noise modifier */
25 short channels;
26
27 /* path deform modifier */
29 struct Object *ob;
31
32// /* NLA-Modifier Types (UNUSED) */
33// enum {
34// ACTSTRIP_MOD_DEFORM = 0,
35// ACTSTRIP_MOD_NOISE = 1,
36// };
37
38typedef struct bActionStrip {
40 short flag, mode;
44 short curmod;
45
47 struct Ipo *ipo;
49 struct bAction *act;
51 struct Object *object;
53 float start, end;
57 float actoffs;
59 float stridelen;
61 float repeat;
63 float scale;
64
67
69 char stridechannel[32];
71 char offs_bone[32];
72
76
78enum {
81};
82
84typedef enum eActStrip_Flag {
85 ACTSTRIP_SELECT = (1 << 0),
87 /* Not implemented. Is not used anywhere */
88 /* ACTSTRIP_BLENDTONEXT = (1 << 2), */ /* UNUSED */
90 ACTSTRIP_ACTIVE = (1 << 4),
92 ACTSTRIP_MUTE = (1 << 6),
93 /* This has yet to be implemented. To indicate that a strip should be played backwards */
94 ACTSTRIP_REVERSE = (1 << 7),
These structs are the foundation for all linked lists in the library system.
@ ACTSTRIPMODE_ADD
@ ACTSTRIPMODE_BLEND
struct bActionModifier bActionModifier
struct bActionStrip bActionStrip
eActStrip_Flag
@ ACTSTRIP_ACTIVE
@ ACTSTRIP_MUTE
@ ACTSTRIP_SELECT
@ ACTSTRIP_REVERSE
@ ACTSTRIP_LOCK_ACTION
@ ACTSTRIP_HOLDLASTFRAME
@ ACTSTRIP_AUTO_BLENDS
@ ACTSTRIP_USESTRIDE
struct Object * ob
struct bActionModifier * next
struct bActionModifier * prev
struct Object * object
struct Ipo * ipo
struct bAction * act
char stridechannel[32]
struct bActionStrip * next
char offs_bone[32]
ListBase modifiers
struct bActionStrip * prev