Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_modifier_types.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| /** Flags to tell the tool how to limit the bevel. */ | /** Flags to tell the tool how to limit the bevel. */ | ||||
| short lim_flags; | short lim_flags; | ||||
| /** Flags to direct how edge weights are applied to verts. */ | /** Flags to direct how edge weights are applied to verts. */ | ||||
| short e_flags; | short e_flags; | ||||
| /** Material index if >= 0, else material inherited from surrounding faces. */ | /** Material index if >= 0, else material inherited from surrounding faces. */ | ||||
| short mat; | short mat; | ||||
| short edge_flags; | short edge_flags; | ||||
| short face_str_mode; | short face_str_mode; | ||||
| /* patterns to use for mitering non-reflex and reflex miter edges */ | /** Patterns to use for mitering non-reflex and reflex miter edges */ | ||||
| short miter_inner; | short miter_inner; | ||||
| short miter_outer; | short miter_outer; | ||||
| char _pad0[2]; | /** The method to use for creating >2-way intersections */ | ||||
| short vmesh_method; | |||||
| /** Controls profile shape (0->1, .5 is round). */ | /** Controls profile shape (0->1, .5 is round). */ | ||||
| float profile; | float profile; | ||||
| /** if the MOD_BEVEL_ANGLE is set, | /** if the MOD_BEVEL_ANGLE is set, | ||||
| * this will be how "sharp" an edge must be before it gets beveled */ | * this will be how "sharp" an edge must be before it gets beveled */ | ||||
| float bevel_angle; | float bevel_angle; | ||||
| float spread; | float spread; | ||||
| /** if the MOD_BEVEL_VWEIGHT option is set, | /** if the MOD_BEVEL_VWEIGHT option is set, | ||||
| * this will be the name of the vert group, MAX_VGROUP_NAME */ | * this will be the name of the vert group, MAX_VGROUP_NAME */ | ||||
| char defgrp_name[64]; | char defgrp_name[64]; | ||||
| /** Curve info for the custom profile */ | |||||
| struct ProfileWidget *prwdgt; | |||||
| } BevelModifierData; | } BevelModifierData; | ||||
| /* BevelModifierData->flags and BevelModifierData->lim_flags */ | /* BevelModifierData->flags and BevelModifierData->lim_flags */ | ||||
| enum { | enum { | ||||
| MOD_BEVEL_VERT = (1 << 1), | MOD_BEVEL_VERT = (1 << 1), | ||||
| /* unused = (1 << 2), */ | /* unused = (1 << 2), */ | ||||
| MOD_BEVEL_ANGLE = (1 << 3), | MOD_BEVEL_ANGLE = (1 << 3), | ||||
| MOD_BEVEL_WEIGHT = (1 << 4), | MOD_BEVEL_WEIGHT = (1 << 4), | ||||
| MOD_BEVEL_VGROUP = (1 << 5), | MOD_BEVEL_VGROUP = (1 << 5), | ||||
| /* unused = (1 << 7), */ | MOD_BEVEL_CUSTOM_PROFILE = (1 << 7), | ||||
| /* unused = (1 << 8), */ | MOD_BEVEL_SAMPLE_STRAIGHT = (1 << 8), | ||||
| /* unused = (1 << 9), */ | /* unused = (1 << 9), */ | ||||
| /* unused = (1 << 10), */ | /* unused = (1 << 10), */ | ||||
| /* unused = (1 << 11), */ | /* unused = (1 << 11), */ | ||||
| /* unused = (1 << 12), */ | /* unused = (1 << 12), */ | ||||
| MOD_BEVEL_OVERLAP_OK = (1 << 13), | MOD_BEVEL_OVERLAP_OK = (1 << 13), | ||||
| MOD_BEVEL_EVEN_WIDTHS = (1 << 14), | MOD_BEVEL_EVEN_WIDTHS = (1 << 14), | ||||
| MOD_BEVEL_HARDEN_NORMALS = (1 << 15), | MOD_BEVEL_HARDEN_NORMALS = (1 << 15), | ||||
| }; | }; | ||||
| Show All 22 Lines | |||||
| /* BevelModifier->miter_inner and ->miter_outer */ | /* BevelModifier->miter_inner and ->miter_outer */ | ||||
| enum { | enum { | ||||
| MOD_BEVEL_MITER_SHARP, | MOD_BEVEL_MITER_SHARP, | ||||
| MOD_BEVEL_MITER_PATCH, | MOD_BEVEL_MITER_PATCH, | ||||
| MOD_BEVEL_MITER_ARC, | MOD_BEVEL_MITER_ARC, | ||||
| }; | }; | ||||
| /* BevelModifier->vmesh_method */ | |||||
| enum { | |||||
| MOD_BEVEL_VMESH_ADJ, | |||||
| MOD_BEVEL_VMESH_CUTOFF, | |||||
| }; | |||||
| typedef struct SmokeModifierData { | typedef struct SmokeModifierData { | ||||
| ModifierData modifier; | ModifierData modifier; | ||||
| struct SmokeDomainSettings *domain; | struct SmokeDomainSettings *domain; | ||||
| /** Inflow, outflow, smoke objects. */ | /** Inflow, outflow, smoke objects. */ | ||||
| struct SmokeFlowSettings *flow; | struct SmokeFlowSettings *flow; | ||||
| /** Collision objects. */ | /** Collision objects. */ | ||||
| struct SmokeCollSettings *coll; | struct SmokeCollSettings *coll; | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||