Tanoda
RecordingTrack.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using UnityEngine;
10using UnityEngine.Playables;
11using UnityEngine.Timeline;
12
13namespace Leap.Unity.Recording {
14
15 [TrackColor(0.2827586f, 1f, 0f)]
16 [TrackClipType(typeof(RecordingClip))]
17 [TrackBindingType(typeof(LeapPlayableProvider))]
18 public class RecordingTrack : TrackAsset {
19
20 public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) {
21 return ScriptPlayable<RecordingMixerBehaviour>.Create(graph, inputCount);
22 }
23 }
24}
override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)