Skip to content

TransitionConfig ​

Struct

Source: TransitionEffect.h

Description ​

Full per-call description of a scene transition (issue #240).

Passed by value to Engine::triggerTransition() / SceneManager::transitionToScene(). A value type scales better than one overload per parameter, and passing the whole description on every call prevents state carry-over between transitions (a wipe triggered later never inherits the direction, sub-step or iris centers of an earlier one).

Properties ​

NameTypeDescription
typeTransitionTypeFade, Iris or DiagonalWipe.
durationMsunsigned longDuration of each phase (Out and In).
wipeDirectionWipeDirectionDiagonalWipe corner direction.
irisOutCxintIris center X, Out phase (-1 = buffer center).
irisOutCyintIris center Y, Out phase (-1 = buffer center).
irisInCxintIris center X, In phase (-1 = buffer center).
irisInCyintIris center Y, In phase (-1 = buffer center).
subStepMsuint16_tDiagonalWipe sub-step (0 = disabled).

Released under the MIT License.