Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_action_types.h
| Show First 20 Lines • Show All 676 Lines • ▼ Show 20 Lines | typedef struct bAction { | ||||
| /** | /** | ||||
| * Type of ID-blocks that action can be assigned to | * Type of ID-blocks that action can be assigned to | ||||
| * (if 0, will be set to whatever ID first evaluates it). | * (if 0, will be set to whatever ID first evaluates it). | ||||
| */ | */ | ||||
| int idroot; | int idroot; | ||||
| char _pad[4]; | char _pad[4]; | ||||
| /** Start and end of the manually set intended playback frame range. Used by UI and | |||||
| * some editing tools, but doesn't directly affect animation evaluation in any way. */ | |||||
| float frame_start, frame_end; | |||||
| PreviewImage *preview; | PreviewImage *preview; | ||||
| } bAction; | } bAction; | ||||
| /* Flags for the action */ | /* Flags for the action */ | ||||
| typedef enum eAction_Flags { | typedef enum eAction_Flags { | ||||
| /* flags for displaying in UI */ | /* flags for displaying in UI */ | ||||
| ACT_COLLAPSED = (1 << 0), | ACT_COLLAPSED = (1 << 0), | ||||
| ACT_SELECTED = (1 << 1), | ACT_SELECTED = (1 << 1), | ||||
| /* flags for evaluation/editing */ | /* flags for evaluation/editing */ | ||||
| ACT_MUTED = (1 << 9), | ACT_MUTED = (1 << 9), | ||||
| /* ACT_PROTECTED = (1 << 10), */ /* UNUSED */ | /* ACT_PROTECTED = (1 << 10), */ /* UNUSED */ | ||||
| /* ACT_DISABLED = (1 << 11), */ /* UNUSED */ | /* ACT_DISABLED = (1 << 11), */ /* UNUSED */ | ||||
| /** The action has a manually set intended playback frame range. */ | |||||
| ACT_FRAME_RANGE = (1 << 12), | |||||
| /** The action is intended to be a cycle (requires ACT_FRAME_RANGE). */ | |||||
| ACT_CYCLIC = (1 << 13), | |||||
| } eAction_Flags; | } eAction_Flags; | ||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| /* Action/Dopesheet Editor */ | /* Action/Dopesheet Editor */ | ||||
| /* Storage for Dopesheet/Grease-Pencil Editor data */ | /* Storage for Dopesheet/Grease-Pencil Editor data */ | ||||
| typedef struct bDopeSheet { | typedef struct bDopeSheet { | ||||
| /** Currently ID_SCE (for Dopesheet), and ID_SC (for Grease Pencil). */ | /** Currently ID_SCE (for Dopesheet), and ID_SC (for Grease Pencil). */ | ||||
| ▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines | |||||