Blender V4.5
DNA_lattice_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
8
9#pragma once
10
11#include "DNA_ID.h"
12#include "DNA_defs.h"
13
14struct AnimData;
15struct BPoint;
16struct Ipo;
17struct Key;
18struct MDeformVert;
19
20#
21#
35
37#ifdef __cplusplus
40 static constexpr ID_Type id_type = ID_LT;
41#endif
42
44 struct AnimData *adt;
45
48 char _pad2[3];
49 /* KeyInterpolationType */
52 int actbp;
53
54 float fu, fv, fw, du, dv, dw;
55
56 struct BPoint *def;
57
59 struct Ipo *ipo DNA_DEPRECATED;
60 struct Key *key;
61
64 char vgroup[/*MAX_VGROUP_NAME*/ 64];
68
69 char _pad0[4];
70
74
75/* ***************** LATTICE ********************* */
76
78enum {
79 LT_GRID = 1 << 0,
80 LT_OUTSIDE = 1 << 1,
81
82 LT_DS_EXPAND = 1 << 2,
83};
84
85#define LT_ACTBP_NONE -1
ID and Library types, which are fundamental for SDNA.
ID_Type
@ ID_LT
@ LT_OUTSIDE
@ LT_DS_EXPAND
@ LT_GRID
struct Lattice Lattice
#define typedef
#define DNA_DEFINE_CXX_METHODS(class_name)
char needs_flush_to_id
struct Lattice * latt
Definition DNA_ID.h:404
ListBase vertex_group_names
char _pad2[3]
struct Ipo *ipo DNA_DEPRECATED
struct Key * key
void * batch_cache
struct MDeformVert * dvert
int vertex_group_active_index
struct EditLatt * editlatt
char _pad0[4]
char vgroup[64]
struct BPoint * def
struct AnimData * adt