docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneActivationTrack

    A track you can use to control the active state of a Scene.

    Inheritance
    Object
    SceneActivationTrack
    Namespace: UnityEngine.Sequences.Timeline
    Syntax
    public class SceneActivationTrack : TrackAsset

    Fields

    scene

    A reference to the Scene to control through this track.

    Declaration
    public SceneReference scene
    Field Value
    Type Description
    SceneReference

    Methods

    CreateTrackMixer(PlayableGraph, GameObject, Int32)

    Creates a mixer to blend playables generated by clips on the track.

    Declaration
    public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
    Parameters
    Type Name Description
    PlayableGraph graph

    The graph to inject playables into.

    GameObject go

    The GameObject that requested the graph.

    Int32 inputCount

    The number of playables from clips that will be inputs to the returned mixer.

    Returns
    Type Description
    Playable

    A handle to the that represents the mixer.

    GatherProperties(PlayableDirector, IPropertyCollector)

    The Timeline Editor calls this method to gather properties that require a preview.

    Declaration
    public override void GatherProperties(PlayableDirector director, IPropertyCollector driver)
    Parameters
    Type Name Description
    PlayableDirector director

    The PlayableDirector that invokes the preview.

    IPropertyCollector driver

    The PropertyCollector used to gather previewable properties.

    Back to top
    Terms of use
    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