libobs: Add manual transition "torque" support
Allows the ability for manual transitioning to smoothly flow (interpolate) to the intended transition point over a short period of time rather than simply setting a hard transition point number. Doing this allows manual transitioning to occur more smoothly, and in a more visually pleasant way.
This commit is contained in:
@@ -1343,6 +1343,8 @@ EXPORT bool obs_transition_start(obs_source_t *transition,
|
||||
EXPORT void obs_transition_set(obs_source_t *transition, obs_source_t *source);
|
||||
|
||||
EXPORT void obs_transition_set_manual_time(obs_source_t *transition, float t);
|
||||
EXPORT void obs_transition_set_manual_torque(obs_source_t *transition,
|
||||
float torque, float clamp);
|
||||
|
||||
enum obs_transition_scale_type {
|
||||
OBS_TRANSITION_SCALE_MAX_ONLY,
|
||||
|
Reference in New Issue
Block a user