Blender V5.0
#include "DNA_ID.h"
#include "DNA_defs.h"
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  KeyBlock
struct  Key

Macros

#define KEYELEM_FLOAT_LEN_COORD   3
#define KEYELEM_ELEM_SIZE_CURVE   3
#define KEYELEM_ELEM_LEN_BPOINT   2
#define KEYELEM_FLOAT_LEN_BPOINT   (KEYELEM_ELEM_LEN_BPOINT * KEYELEM_ELEM_SIZE_CURVE)
#define KEYELEM_ELEM_LEN_BEZTRIPLE   4
#define KEYELEM_FLOAT_LEN_BEZTRIPLE   (KEYELEM_ELEM_LEN_BEZTRIPLE * KEYELEM_ELEM_SIZE_CURVE)

Typedefs

typedef struct KeyBlock KeyBlock
typedef struct Key Key
typedef enum ShapekeyContainerType ShapekeyContainerType
typedef enum ShapekeyContainerFlag ShapekeyContainerFlag
typedef enum KeyInterpolationType KeyInterpolationType
typedef enum KeyBlockFlag KeyBlockFlag

Enumerations

enum  ShapekeyContainerType { KEY_NORMAL = 0 , KEY_RELATIVE = 1 }
enum  ShapekeyContainerFlag { KEY_DS_EXPAND = 1 }
enum  KeyInterpolationType { KEY_LINEAR = 0 , KEY_CARDINAL = 1 , KEY_BSPLINE = 2 , KEY_CATMULL_ROM = 3 }
enum  KeyBlockFlag { KEYBLOCK_MUTE = (1 << 0) , KEYBLOCK_SEL = (1 << 1) , KEYBLOCK_LOCKED = (1 << 2) , KEYBLOCK_LOCKED_SHAPE = (1 << 3) }

Detailed Description

This file defines structures for Shape-Keys (not animation keyframes), attached to Mesh, Curve and Lattice Data. Even though Key's are ID blocks they aren't intended to be shared between multiple data blocks as with other ID types.

Definition in file DNA_key_types.h.

Macro Definition Documentation

◆ KEYELEM_ELEM_LEN_BEZTRIPLE

◆ KEYELEM_ELEM_LEN_BPOINT

◆ KEYELEM_ELEM_SIZE_CURVE

#define KEYELEM_ELEM_SIZE_CURVE   3

Definition at line 149 of file DNA_key_types.h.

Referenced by BKE_key_add(), BKE_key_evaluate_object_ex(), and key_pointer_size().

◆ KEYELEM_FLOAT_LEN_BEZTRIPLE

◆ KEYELEM_FLOAT_LEN_BPOINT

◆ KEYELEM_FLOAT_LEN_COORD

#define KEYELEM_FLOAT_LEN_COORD   3

Typedef Documentation

◆ Key

typedef struct Key Key

◆ KeyBlock

typedef struct KeyBlock KeyBlock

The struct that holds the data for an individual Shape Key. Depending on which object owns the Key, the contained data type can vary (see void *data;).

◆ KeyBlockFlag

◆ KeyInterpolationType

◆ ShapekeyContainerFlag

◆ ShapekeyContainerType

Enumeration Type Documentation

◆ KeyBlockFlag

Enumerator
KEYBLOCK_MUTE 
KEYBLOCK_SEL 
KEYBLOCK_LOCKED 
KEYBLOCK_LOCKED_SHAPE 

Definition at line 139 of file DNA_key_types.h.

◆ KeyInterpolationType

Enumerator
KEY_LINEAR 
KEY_CARDINAL 
KEY_BSPLINE 
KEY_CATMULL_ROM 

Definition at line 132 of file DNA_key_types.h.

◆ ShapekeyContainerFlag

Enumerator
KEY_DS_EXPAND 

Definition at line 126 of file DNA_key_types.h.

◆ ShapekeyContainerType

Enumerator
KEY_NORMAL 
KEY_RELATIVE 

Definition at line 117 of file DNA_key_types.h.