mwg API
    Preparing search index...

    Interface TransitionContext

    what a transition is given to work with

    interface TransitionContext {
        height: number;
        incoming: Container;
        over: Container;
        snapshot: Texture<TextureSource<any>> | null;
        under: Container;
        width: number;
    }
    Index
    height: number
    incoming: Container

    the new scene, in a container the transition may move, scale, fade or mask

    over: Container

    drawn over incoming: the old picture, for a transition that takes it away

    snapshot: Texture<TextureSource<any>> | null

    a picture of the outgoing scene, or null when there was none to photograph

    under: Container

    drawn beneath incoming: the old picture, for a transition that grows the new scene over it

    width: number

    the size of the screen in logical pixels