diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-19 17:19:32 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-19 17:19:32 -0400 |
| commit | c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78 (patch) | |
| tree | ee4d51c7c1d633e11f46453ef1edd3c77c4ef9f7 /Library/PackageCache/com.unity.timeline@1.2.13/Runtime/ILayerable.cs | |
| download | Project-Sandbox-c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78.tar.gz Project-Sandbox-c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78.tar.bz2 Project-Sandbox-c55fba8ab2a1c9d3df65eda4a5a1e957f4aa1f78.zip | |
Inital commit
Diffstat (limited to 'Library/PackageCache/com.unity.timeline@1.2.13/Runtime/ILayerable.cs')
| -rw-r--r-- | Library/PackageCache/com.unity.timeline@1.2.13/Runtime/ILayerable.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/ILayerable.cs b/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/ILayerable.cs new file mode 100644 index 0000000..ff7d0e4 --- /dev/null +++ b/Library/PackageCache/com.unity.timeline@1.2.13/Runtime/ILayerable.cs @@ -0,0 +1,20 @@ +using UnityEngine; +using UnityEngine.Playables; + +namespace UnityEngine.Timeline +{ + /// <summary> + /// Implement this interface on a TrackAsset derived class to support layers + /// </summary> + public interface ILayerable + { + /// <summary> + /// Creates a mixer that blends track mixers. + /// </summary> + /// <param name="graph">The graph where the mixer playable will be added.</param> + /// <param name="go">The GameObject that requested the graph.</param> + /// <param name="inputCount">The number of inputs on the mixer. There should be an input for each playable from each clip.</param> + /// <returns>Returns a playable that is used as a mixer. If this method returns Playable.Null, it indicates that a layer mixer is not needed. In this case, a single track mixer blends all playables generated from all layers.</returns> + Playable CreateLayerMixer(PlayableGraph graph, GameObject go, int inputCount); + } +} |
