Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_curve.c
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
| }; | }; | ||||
| /** | /** | ||||
| * \note this is a near exact duplicate of `gpencil_interpolation_type_items`, | * \note this is a near exact duplicate of `gpencil_interpolation_type_items`, | ||||
| * Changes here will likely apply there too. | * Changes here will likely apply there too. | ||||
| */ | */ | ||||
| const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] = { | const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] = { | ||||
| /* Interpolation. */ | /* Interpolation. */ | ||||
| RNA_ENUM_ITEM_HEADING(N_("Interpolation"), "Standard transitions between keyframes"), | RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, "Interpolation"), | ||||
| "Standard transitions between keyframes"), | |||||
| {BEZT_IPO_CONST, | {BEZT_IPO_CONST, | ||||
| "CONSTANT", | "CONSTANT", | ||||
| ICON_IPO_CONSTANT, | ICON_IPO_CONSTANT, | ||||
| "Constant", | "Constant", | ||||
| "No interpolation, value of A gets held until B is encountered"}, | "No interpolation, value of A gets held until B is encountered"}, | ||||
| {BEZT_IPO_LIN, | {BEZT_IPO_LIN, | ||||
| "LINEAR", | "LINEAR", | ||||
| ICON_IPO_LINEAR, | ICON_IPO_LINEAR, | ||||
| "Linear", | "Linear", | ||||
| "Straight-line interpolation between A and B (i.e. no ease in/out)"}, | "Straight-line interpolation between A and B (i.e. no ease in/out)"}, | ||||
| {BEZT_IPO_BEZ, | {BEZT_IPO_BEZ, | ||||
| "BEZIER", | "BEZIER", | ||||
| ICON_IPO_BEZIER, | ICON_IPO_BEZIER, | ||||
| "Bezier", | "Bezier", | ||||
| "Smooth interpolation between A and B, with some control over curve shape"}, | "Smooth interpolation between A and B, with some control over curve shape"}, | ||||
| /* Easing. */ | /* Easing. */ | ||||
| RNA_ENUM_ITEM_HEADING(N_("Easing (by strength)"), | RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, | ||||
| "Easing (by strength)"), | |||||
| "Predefined inertial transitions, useful for motion graphics " | "Predefined inertial transitions, useful for motion graphics " | ||||
| "(from least to most \"dramatic\")"), | "(from least to most \"dramatic\")"), | ||||
| {BEZT_IPO_SINE, | {BEZT_IPO_SINE, | ||||
| "SINE", | "SINE", | ||||
| ICON_IPO_SINE, | ICON_IPO_SINE, | ||||
| "Sinusoidal", | "Sinusoidal", | ||||
| "Sinusoidal easing (weakest, almost linear but with a slight curvature)"}, | "Sinusoidal easing (weakest, almost linear but with a slight curvature)"}, | ||||
| {BEZT_IPO_QUAD, "QUAD", ICON_IPO_QUAD, "Quadratic", "Quadratic easing"}, | {BEZT_IPO_QUAD, "QUAD", ICON_IPO_QUAD, "Quadratic", "Quadratic easing"}, | ||||
| {BEZT_IPO_CUBIC, "CUBIC", ICON_IPO_CUBIC, "Cubic", "Cubic easing"}, | {BEZT_IPO_CUBIC, "CUBIC", ICON_IPO_CUBIC, "Cubic", "Cubic easing"}, | ||||
| {BEZT_IPO_QUART, "QUART", ICON_IPO_QUART, "Quartic", "Quartic easing"}, | {BEZT_IPO_QUART, "QUART", ICON_IPO_QUART, "Quartic", "Quartic easing"}, | ||||
| {BEZT_IPO_QUINT, "QUINT", ICON_IPO_QUINT, "Quintic", "Quintic easing"}, | {BEZT_IPO_QUINT, "QUINT", ICON_IPO_QUINT, "Quintic", "Quintic easing"}, | ||||
| {BEZT_IPO_EXPO, "EXPO", ICON_IPO_EXPO, "Exponential", "Exponential easing (dramatic)"}, | {BEZT_IPO_EXPO, "EXPO", ICON_IPO_EXPO, "Exponential", "Exponential easing (dramatic)"}, | ||||
| {BEZT_IPO_CIRC, | {BEZT_IPO_CIRC, | ||||
| "CIRC", | "CIRC", | ||||
| ICON_IPO_CIRC, | ICON_IPO_CIRC, | ||||
| "Circular", | "Circular", | ||||
| "Circular easing (strongest and most dynamic)"}, | "Circular easing (strongest and most dynamic)"}, | ||||
| RNA_ENUM_ITEM_HEADING(N_("Dynamic Effects"), "Simple physics-inspired easing effects"), | RNA_ENUM_ITEM_HEADING(CTX_N_(BLT_I18NCONTEXT_ID_ACTION, "Dynamic Effects"), | ||||
| "Simple physics-inspired easing effects"), | |||||
| {BEZT_IPO_BACK, "BACK", ICON_IPO_BACK, "Back", "Cubic easing with overshoot and settle"}, | {BEZT_IPO_BACK, "BACK", ICON_IPO_BACK, "Back", "Cubic easing with overshoot and settle"}, | ||||
| {BEZT_IPO_BOUNCE, | {BEZT_IPO_BOUNCE, | ||||
| "BOUNCE", | "BOUNCE", | ||||
| ICON_IPO_BOUNCE, | ICON_IPO_BOUNCE, | ||||
| "Bounce", | "Bounce", | ||||
| "Exponentially decaying parabolic bounce, like when objects collide"}, | "Exponentially decaying parabolic bounce, like when objects collide"}, | ||||
| {BEZT_IPO_ELASTIC, | {BEZT_IPO_ELASTIC, | ||||
| "ELASTIC", | "ELASTIC", | ||||
| ▲ Show 20 Lines • Show All 1,953 Lines • Show Last 20 Lines | |||||