|
Timeline Mixer Documentation
|
Track processor for timeline tracks that do not have a custom track processor, this will connect all unknown tracks to their own output. More...
Public Member Functions | |
| virtual void | ProcessTrack (PlayableGraph graph, TrackAsset track, ScriptPlayable< TimelinePlayable > playable, int trackIndex, Object boundComponent, ref PlayableConnectionInfo info) |
| Connect the current track index to any required mixer and playable output. | |
| virtual void | DisconnectTrack (PlayableNode timelineNode, int trackIndex, ref PlayableConnectionInfo info) |
| Use this to cleanly disconnect tracks from their mixers and destroy any intermediary Playables. If you have added a lot of mixers or other playables between the timeline and output override this and destroy them here. Used when rebinding a timeline track at runtime, or removing a timeline. | |
Protected Member Functions | |
| void | ConnectPlayable (PlayableNode mixerNode, PlayableNode timelineNode, int trackIndex, ref PlayableConnectionInfo info) |
| Connects the Timeline Playable to a mixer or passthrough and stores information about connections in the PlayableConnectionInfo. | |
Track processor for timeline tracks that do not have a custom track processor, this will connect all unknown tracks to their own output.
|
inlineprotected |
Connects the Timeline Playable to a mixer or passthrough and stores information about connections in the PlayableConnectionInfo.
| mixerNode | The Playable mixer or passthrough |
| timelineNode | The TimelineNode wrapper for the TimelinePlayable |
| trackIndex | The track index |
| info | The PlayableConnectionInfo instance that will hold connection data used for setting weights |
|
inlinevirtual |
Use this to cleanly disconnect tracks from their mixers and destroy any intermediary Playables. If you have added a lot of mixers or other playables between the timeline and output override this and destroy them here. Used when rebinding a timeline track at runtime, or removing a timeline.
Specialized track processors may need to override this method if they involve multiple Playables between the timeline and the mixer. For example:
The default track processor does not offer blending, so the "mixer" and output are destroyed when disconnected from the timeline.
| trackIndex | The index of the timeline track to disconnect. |
Implements TimelineMixer.ITrackProcessor.
Reimplemented in TimelineMixer.AnimationTrackProcessor, and TimelineMixer.AudioTrackProcessor.
|
inlinevirtual |
Connect the current track index to any required mixer and playable output.
| graph | |
| track | |
| playable | |
| trackIndex | |
| boundComponent | |
| info |
Reimplemented in TimelineMixer.AudioTrackProcessor, TimelineMixer.MarkerTrackProcessor, and TimelineMixer.SignalTrackProcessor.