Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Show First 20 Lines • Show All 300 Lines • ▼ Show 20 Lines | typedef struct TransSnap { | ||||
| /* Method(s) used for snapping source to target */ | /* Method(s) used for snapping source to target */ | ||||
| eSnapMode mode; | eSnapMode mode; | ||||
| /* Part of source to snap to target */ | /* Part of source to snap to target */ | ||||
| eSnapSourceSelect source_select; | eSnapSourceSelect source_select; | ||||
| /* Determines which objects are possible target */ | /* Determines which objects are possible target */ | ||||
| eSnapTargetSelect target_select; | eSnapTargetSelect target_select; | ||||
| bool align; | bool align; | ||||
| bool project; | bool project; | ||||
| bool snap_self; | |||||
| bool peel; | bool peel; | ||||
| bool use_backface_culling; | bool use_backface_culling; | ||||
| short face_nearest_steps; | |||||
| eTSnap status; | eTSnap status; | ||||
| /* Snapped Element Type (currently for objects only). */ | /* Snapped Element Type (currently for objects only). */ | ||||
| eSnapMode snapElem; | eSnapMode snapElem; | ||||
| /** snapping from this point (in global-space). */ | /** snapping from this point (in global-space). */ | ||||
| float snapTarget[3]; | float snapTarget[3]; | ||||
| /** to this point (in global-space). */ | /** to this point (in global-space). */ | ||||
| float snapPoint[3]; | float snapPoint[3]; | ||||
| float snapTargetGrid[3]; | float snapTargetGrid[3]; | ||||
| ▲ Show 20 Lines • Show All 564 Lines • Show Last 20 Lines | |||||