Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 428 Lines • ▼ Show 20 Lines | typedef struct Object { | ||||
| /** Offset for image empties. */ | /** Offset for image empties. */ | ||||
| float ima_ofs[2]; | float ima_ofs[2]; | ||||
| /** Must be non-null when object is an empty image. */ | /** Must be non-null when object is an empty image. */ | ||||
| ImageUser *iuser; | ImageUser *iuser; | ||||
| char empty_image_visibility_flag; | char empty_image_visibility_flag; | ||||
| char empty_image_depth; | char empty_image_depth; | ||||
| char empty_image_flag; | char empty_image_flag; | ||||
| char _pad8[5]; | |||||
| /** ObjectModifierFlag */ | |||||
| uint8_t modifier_flag; | |||||
| char _pad8[4]; | |||||
| struct PreviewImage *preview; | struct PreviewImage *preview; | ||||
| ObjectLineArt lineart; | ObjectLineArt lineart; | ||||
| /** Lightgroup membership information. */ | /** Lightgroup membership information. */ | ||||
| struct LightgroupMembership *lightgroup; | struct LightgroupMembership *lightgroup; | ||||
| ▲ Show 20 Lines • Show All 337 Lines • ▼ Show 20 Lines | enum { | ||||
| OB_EMPTY_IMAGE_HIDE_NON_AXIS_ALIGNED = 1 << 4, | OB_EMPTY_IMAGE_HIDE_NON_AXIS_ALIGNED = 1 << 4, | ||||
| }; | }; | ||||
| /** #Object.empty_image_flag */ | /** #Object.empty_image_flag */ | ||||
| enum { | enum { | ||||
| OB_EMPTY_IMAGE_USE_ALPHA_BLEND = 1 << 0, | OB_EMPTY_IMAGE_USE_ALPHA_BLEND = 1 << 0, | ||||
| }; | }; | ||||
| typedef enum ObjectModifierFlag { | |||||
| OB_MODIFIER_FLAG_ADD_REST_POSITION = 1 << 0, | |||||
| } ObjectModifierFlag; | |||||
| #define MAX_DUPLI_RECUR 8 | #define MAX_DUPLI_RECUR 8 | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||