Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_modifier_types.h
| Show First 20 Lines • Show All 377 Lines • ▼ Show 20 Lines | typedef struct DisplaceModifierData { | ||||
| int uvlayer_tmp; | int uvlayer_tmp; | ||||
| int texmapping; | int texmapping; | ||||
| /* end MappingInfoModifierData */ | /* end MappingInfoModifierData */ | ||||
| float strength; | float strength; | ||||
| int direction; | int direction; | ||||
| char defgrp_name[64]; /* MAX_VGROUP_NAME */ | char defgrp_name[64]; /* MAX_VGROUP_NAME */ | ||||
| float midlevel; | float midlevel; | ||||
| int pad; | int space; | ||||
| } DisplaceModifierData; | } DisplaceModifierData; | ||||
| /* DisplaceModifierData->direction */ | /* DisplaceModifierData->direction */ | ||||
| enum { | enum { | ||||
| MOD_DISP_DIR_X = 0, | MOD_DISP_DIR_X = 0, | ||||
| MOD_DISP_DIR_Y = 1, | MOD_DISP_DIR_Y = 1, | ||||
| MOD_DISP_DIR_Z = 2, | MOD_DISP_DIR_Z = 2, | ||||
| MOD_DISP_DIR_NOR = 3, | MOD_DISP_DIR_NOR = 3, | ||||
| MOD_DISP_DIR_RGB_XYZ = 4, | MOD_DISP_DIR_RGB_XYZ = 4, | ||||
| MOD_DISP_DIR_CLNOR = 5, | MOD_DISP_DIR_CLNOR = 5, | ||||
| }; | }; | ||||
| /* DisplaceModifierData->texmapping */ | /* DisplaceModifierData->texmapping */ | ||||
| enum { | enum { | ||||
| MOD_DISP_MAP_LOCAL = 0, | MOD_DISP_MAP_LOCAL = 0, | ||||
| MOD_DISP_MAP_GLOBAL = 1, | MOD_DISP_MAP_GLOBAL = 1, | ||||
| MOD_DISP_MAP_OBJECT = 2, | MOD_DISP_MAP_OBJECT = 2, | ||||
| MOD_DISP_MAP_UV = 3, | MOD_DISP_MAP_UV = 3, | ||||
| }; | }; | ||||
| /* DisplaceModifierData->space */ | |||||
| enum { | |||||
| MOD_DISP_SPACE_LOCAL = 0, | |||||
| MOD_DISP_SPACE_GLOBAL = 1, | |||||
| }; | |||||
| typedef struct UVProjectModifierData { | typedef struct UVProjectModifierData { | ||||
| ModifierData modifier; | ModifierData modifier; | ||||
| /* the objects which do the projecting */ | /* the objects which do the projecting */ | ||||
| struct Object *projectors[10]; /* MOD_UVPROJECT_MAXPROJECTORS */ | struct Object *projectors[10]; /* MOD_UVPROJECT_MAXPROJECTORS */ | ||||
| struct Image *image; /* the image to project */ | struct Image *image; /* the image to project */ | ||||
| int flags; | int flags; | ||||
| int num_projectors; | int num_projectors; | ||||
| ▲ Show 20 Lines • Show All 1,155 Lines • Show Last 20 Lines | |||||