XAP File Format: Transition

Parent: Cue

Syntax

Transition (Interactive cues only)
{

Sound Index = #;
Source Marker Min = (DWORD)#;
Source Marker Max = (DWORD)#;
Destination Marker Min = (DWORD)#;
Destination Marker Max = (DWORD)#;
Transition Type = 0 - 7;
Transition Source = 0 - 4;
Transition Destination = 0 - 5;
Crossfade
{
}

}

Elements

Element Type Comment
Sound Index Number Transition sound offset in soundbank, set to XACTOFFSET_INVALID if not used (see Transition Type for which transition types require transition sounds)
Source Marker Min Number (DWORD) Source marker range (Min)
Source Marker Max Number (DWORD) Source marker range (Max), must be >= Source Marker Min
Destination Marker Min Number (DWORD) Destination marker range (Min)
Destination Marker Max Number (DWORD) Destination marker range (Max), must be >= Destination Marker Min
Transition Type Number (0-7) 0: DirectWithoutTransition, 1:CrossfadeWithoutTransition, 2: DirectSequentialTransition, 3: CrossfadeToSequentialTransition, 4: CrossfadeFromSequentialTransition, 5: CrossfadeToAndFromSequentialTransition, 6: DirectConcurrentTransition, 7: CrossfadeConcurrentTransition
Transition Source Number (0-4) 0: Immediate, 1: FirstMarkerInRange, 2: RandomMarkerInRange, 3: EndOfLoop, 4: EndOfSound
Transition Destination Number (0-5) 0: Beginning, 1: AlignedTime, 2: AlignedMarker, 3: FirstAlignedMarker, 4: FirstMarkerInRange, 5: RandomMarkerInRange
Crossfade Section