Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Show First 20 Lines • Show All 661 Lines • ▼ Show 20 Lines | typedef struct TransInfo { | ||||
| /** Offset applied ontop of modal input. */ | /** Offset applied ontop of modal input. */ | ||||
| float values_modal_offset[4]; | float values_modal_offset[4]; | ||||
| /** Final value of the transformation (displayed in the redo panel). | /** Final value of the transformation (displayed in the redo panel). | ||||
| * If the operator is executed directly (not modal), this value is usually the | * If the operator is executed directly (not modal), this value is usually the | ||||
| * value of the input parameter, except when a constrain is entered. */ | * value of the input parameter, except when a constrain is entered. */ | ||||
| float values_final[4]; | float values_final[4]; | ||||
| /** Some operators need an initial direction. This value is used for redo. */ | |||||
| float direction[3]; | |||||
| /* Axis members for modes that use an axis separate from the orientation (rotate & shear). */ | /* Axis members for modes that use an axis separate from the orientation (rotate & shear). */ | ||||
| /** Primary axis, rotate only uses this. */ | /** Primary axis, rotate only uses this. */ | ||||
| int orient_axis; | int orient_axis; | ||||
| /** Secondary axis, shear uses this. */ | /** Secondary axis, shear uses this. */ | ||||
| int orient_axis_ortho; | int orient_axis_ortho; | ||||
| /** Often this matrix has similar usage to #TransInfo.spacemtx however this | /** Often this matrix has similar usage to #TransInfo.spacemtx however this | ||||
| ▲ Show 20 Lines • Show All 440 Lines • Show Last 20 Lines | |||||