Interface ILayerable | Timeline | 1.2.18
docs.unity3d.com
    Show / Hide Table of Contents

    Interface ILayerable

    Implement this interface on a TrackAsset derived class to support layers

    Namespace: UnityEngine.Timeline
    Syntax
    public interface ILayerable

    Methods

    CreateLayerMixer(PlayableGraph, GameObject, Int32)

    Creates a mixer that blends track mixers.

    Declaration
    Playable CreateLayerMixer(PlayableGraph graph, GameObject go, int inputCount)
    Parameters
    Type Name Description
    PlayableGraph graph

    The graph where the mixer playable will be added.

    GameObject go

    The GameObject that requested the graph.

    Int32 inputCount

    The number of inputs on the mixer. There should be an input for each playable from each clip.

    Returns
    Type Description
    Playable

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023