Timeline Mixer Documentation
TimelineMixer.TimelineMixerUtilities Class Reference

Static Public Member Functions

static PlayableConnectionInfo GetOrCreateConnectionInfo (Dictionary< Playable, PlayableConnectionInfo > playableInfoMap, Playable playable)
 
static TimelineAsset TimelineInstance (float duration)
 Returns a Timeline Instance that only exists in the scene. Used in TimelineMixer to avoid errors while initializing timelines that have signals or markers. Signals and markers expect a populated Playable Director, so we have to create a "dummy" timeline for them to get duration information from. More...
 
static TimelinePlayable CreateAnimationOutputProcessor (this TimelinePlayable playable, TrackAsset animationTrack, AnimationPlayableOutput animationPlayableOutput)
 Used ONLY on animation tracks, this should only be used during setup. Uses reflection, access to a private method inside TimelinePlayable is required for Animation tracks to behave properly. Creates processors for animation tracks inside TimelinePlayable, which ensures animations look correct when using override tracks More...
 

Member Function Documentation

◆ CreateAnimationOutputProcessor()

static TimelinePlayable TimelineMixer.TimelineMixerUtilities.CreateAnimationOutputProcessor ( this TimelinePlayable  playable,
TrackAsset  animationTrack,
AnimationPlayableOutput  animationPlayableOutput 
)
inlinestatic

Used ONLY on animation tracks, this should only be used during setup. Uses reflection, access to a private method inside TimelinePlayable is required for Animation tracks to behave properly. Creates processors for animation tracks inside TimelinePlayable, which ensures animations look correct when using override tracks

Parameters
playableThe timeline playable that will recieve the animation processor
animationTrackThe animation track to operate on
animationPlayableOutputThe animation playable output to operate on


◆ GetOrCreateConnectionInfo()

static PlayableConnectionInfo TimelineMixer.TimelineMixerUtilities.GetOrCreateConnectionInfo ( Dictionary< Playable, PlayableConnectionInfo playableInfoMap,
Playable  playable 
)
inlinestatic

Parameters
playableInfoMap
playable
Returns

◆ TimelineInstance()

static TimelineAsset TimelineMixer.TimelineMixerUtilities.TimelineInstance ( float  duration)
inlinestatic

Returns a Timeline Instance that only exists in the scene. Used in TimelineMixer to avoid errors while initializing timelines that have signals or markers. Signals and markers expect a populated Playable Director, so we have to create a "dummy" timeline for them to get duration information from.

Parameters
durationThe duration of the created timeline instance in seconds