Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_modifier_types.h
| Context not available. | |||||
| float keepDist; /* distance offset to keep from mesh/projection point */ | float keepDist; /* distance offset to keep from mesh/projection point */ | ||||
| short shrinkType; /* shrink type projection */ | short shrinkType; /* shrink type projection */ | ||||
| char shrinkOpts; /* shrink options */ | char shrinkOpts; /* shrink options */ | ||||
| char pad1; | char pad1; | ||||
| float projLimit; /* limit the projection ray cast */ | float projLimit; /* limit the projection ray cast */ | ||||
| char projAxis; /* axis to project over */ | char projAxis; /* axis to project over */ | ||||
| /* If using projection over vertex normal this controls the level of subsurface that must be done | /* If using projection over vertex normal this controls the level of subsurface that must be done | ||||
| * before getting the vertex coordinates and normal | * before getting the vertex coordinates and normal | ||||
| */ | */ | ||||
| char subsurfLevels; | char subsurfLevels; | ||||
| char pad[2]; | short flag; | ||||
| } ShrinkwrapModifierData; | } ShrinkwrapModifierData; | ||||
| /* Shrinkwrap->flag */ | |||||
| enum { | |||||
| MOD_SHRINKWRAP_INVERT_VGROUP = (1 << 0) | |||||
| }; | |||||
| /* Shrinkwrap->shrinkType */ | /* Shrinkwrap->shrinkType */ | ||||
| enum { | enum { | ||||
| MOD_SHRINKWRAP_NEAREST_SURFACE = 0, | MOD_SHRINKWRAP_NEAREST_SURFACE = 0, | ||||
| Context not available. | |||||
| char vgroup_name[64]; /* optional vertexgroup name, MAX_VGROUP_NAME */ | char vgroup_name[64]; /* optional vertexgroup name, MAX_VGROUP_NAME */ | ||||
| float factor; /* factors to control simple deforms */ | float factor; /* factors to control simple deforms */ | ||||
| float limit[2]; /* lower and upper limit */ | float limit[2]; /* lower and upper limit */ | ||||
| char mode; /* deform function */ | char mode; /* deform function */ | ||||
| char axis; /* lock axis (for taper and strech) */ | char axis; /* lock axis (for taper and strech) */ | ||||
| char pad[2]; | short flag; | ||||
| } SimpleDeformModifierData; | } SimpleDeformModifierData; | ||||
| /*SimpleDeform->flag*/ | |||||
| enum { | |||||
| MOD_SIMPLEDEFORM_INVERT_VGROUP = (1 << 0) | |||||
| }; | |||||
| enum { | enum { | ||||
| MOD_SIMPLEDEFORM_MODE_TWIST = 1, | MOD_SIMPLEDEFORM_MODE_TWIST = 1, | ||||
| MOD_SIMPLEDEFORM_MODE_BEND = 2, | MOD_SIMPLEDEFORM_MODE_BEND = 2, | ||||
| MOD_SIMPLEDEFORM_MODE_TAPER = 3, | MOD_SIMPLEDEFORM_MODE_TAPER = 3, | ||||
| MOD_SIMPLEDEFORM_MODE_STRETCH = 4, | MOD_SIMPLEDEFORM_MODE_STRETCH = 4, | ||||
| }; | }; | ||||
| enum { | enum { | ||||
| Context not available. | |||||