Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 289 Lines • ▼ Show 20 Lines | typedef struct Object { | ||||
| short trackflag, upflag; | short trackflag, upflag; | ||||
| /** Used for DopeSheet filtering settings (expanded/collapsed). */ | /** Used for DopeSheet filtering settings (expanded/collapsed). */ | ||||
| short nlaflag; | short nlaflag; | ||||
| short pad[2]; | short pad[2]; | ||||
| char pad12; | char pad12; | ||||
| char duplicator_visibility_flag; | char duplicator_visibility_flag; | ||||
| /* dupli-frame settings */ | |||||
| int dupon, dupoff, dupsta, dupend; | |||||
| /* Depsgraph */ | /* Depsgraph */ | ||||
| /** Used by depsgraph, flushed from base. */ | /** Used by depsgraph, flushed from base. */ | ||||
| short base_flag; | short base_flag; | ||||
| /** Used by viewport, synced from base. */ | /** Used by viewport, synced from base. */ | ||||
| unsigned short base_local_view_bits; | unsigned short base_local_view_bits; | ||||
| /** Collision mask settings */ | /** Collision mask settings */ | ||||
| unsigned short col_group, col_mask; | unsigned short col_group, col_mask; | ||||
| Show All 10 Lines | typedef struct Object { | ||||
| short dtx; | short dtx; | ||||
| /** Viewport draw type. */ | /** Viewport draw type. */ | ||||
| char dt; | char dt; | ||||
| char empty_drawtype; | char empty_drawtype; | ||||
| float empty_drawsize; | float empty_drawsize; | ||||
| /** Dupliface scale. */ | /** Dupliface scale. */ | ||||
| float dupfacesca; | float dupfacesca; | ||||
| /** Sf is time-offset. */ | |||||
| float sf; | |||||
| /** Custom index, for renderpasses. */ | /** Custom index, for renderpasses. */ | ||||
| short index; | short index; | ||||
| /** Current deformation group, note: index starts at 1. */ | /** Current deformation group, note: index starts at 1. */ | ||||
| unsigned short actdef; | unsigned short actdef; | ||||
| /** Current face map, note: index starts at 1. */ | /** Current face map, note: index starts at 1. */ | ||||
| unsigned short actfmap; | unsigned short actfmap; | ||||
| unsigned char pad5[6]; | unsigned char pad5[2]; | ||||
| /** Object color. */ | /** Object color. */ | ||||
| float col[4]; | float col[4]; | ||||
| /** For restricting view, select, render etc. accessible in outliner. */ | /** For restricting view, select, render etc. accessible in outliner. */ | ||||
| char restrictflag; | char restrictflag; | ||||
| char pad3; | char pad3; | ||||
| /** Softbody settings. */ | /** Softbody settings. */ | ||||
| short softflag; | short softflag; | ||||
| ▲ Show 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | |||||
| #endif | #endif | ||||
| PARKEY = 2, /* XXX Unused, deprecated? */ | PARKEY = 2, /* XXX Unused, deprecated? */ | ||||
| PARSKEL = 4, | PARSKEL = 4, | ||||
| PARVERT1 = 5, | PARVERT1 = 5, | ||||
| PARVERT3 = 6, | PARVERT3 = 6, | ||||
| PARBONE = 7, | PARBONE = 7, | ||||
| /** Slow parenting - is not threadsafe and/or may give errors after jumping. */ | PAR_DEPRECATED = 16, | ||||
| PARSLOW = 16, | |||||
| }; | }; | ||||
| /* (short) transflag */ | /* (short) transflag */ | ||||
| enum { | enum { | ||||
| OB_TRANSFLAG_DEPRECATED_0 = 1 << 0, | OB_TRANSFLAG_DEPRECATED_0 = 1 << 0, | ||||
| OB_TRANSFLAG_DEPRECATED_1 = 1 << 1, | OB_TRANSFLAG_DEPRECATED_1 = 1 << 1, | ||||
| OB_NEG_SCALE = 1 << 2, | OB_NEG_SCALE = 1 << 2, | ||||
| OB_DUPLIFRAMES = 1 << 3, | OB_TRANSFLAG_DEPRECATED_3 = 1 << 3, | ||||
| OB_DUPLIVERTS = 1 << 4, | OB_DUPLIVERTS = 1 << 4, | ||||
| OB_DUPLIROT = 1 << 5, | OB_DUPLIROT = 1 << 5, | ||||
| OB_DUPLINOSPEED = 1 << 6, | OB_TRANSFLAG_DEPRECATED_4 = 1 << 6, | ||||
| /* runtime, calculate derivedmesh for dupli before it's used */ | /* runtime, calculate derivedmesh for dupli before it's used */ | ||||
| OB_DUPLICALCDERIVED = 1 << 7, | OB_DUPLICALCDERIVED = 1 << 7, | ||||
| OB_DUPLICOLLECTION = 1 << 8, | OB_DUPLICOLLECTION = 1 << 8, | ||||
| OB_DUPLIFACES = 1 << 9, | OB_DUPLIFACES = 1 << 9, | ||||
| OB_DUPLIFACES_SCALE = 1 << 10, | OB_DUPLIFACES_SCALE = 1 << 10, | ||||
| OB_DUPLIPARTS = 1 << 11, | OB_DUPLIPARTS = 1 << 11, | ||||
| OB_TRANSLFAG_DEPRECATED_2 = 1 << 12, | OB_TRANSLFAG_DEPRECATED_2 = 1 << 12, | ||||
| /* runtime constraints disable */ | /* runtime constraints disable */ | ||||
| OB_NO_CONSTRAINTS = 1 << 13, | OB_NO_CONSTRAINTS = 1 << 13, | ||||
| /* hack to work around particle issue */ | /* hack to work around particle issue */ | ||||
| OB_NO_PSYS_UPDATE = 1 << 14, | OB_NO_PSYS_UPDATE = 1 << 14, | ||||
| OB_DUPLI = OB_DUPLIFRAMES | OB_DUPLIVERTS | OB_DUPLICOLLECTION | OB_DUPLIFACES | OB_DUPLIPARTS, | OB_DUPLI = OB_DUPLIVERTS | OB_DUPLICOLLECTION | OB_DUPLIFACES | OB_DUPLIPARTS, | ||||
| }; | }; | ||||
| /* (short) trackflag / upflag */ | /* (short) trackflag / upflag */ | ||||
| enum { | enum { | ||||
| OB_POSX = 0, | OB_POSX = 0, | ||||
| OB_POSY = 1, | OB_POSY = 1, | ||||
| OB_POSZ = 2, | OB_POSZ = 2, | ||||
| OB_NEGX = 3, | OB_NEGX = 3, | ||||
| ▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines | |||||