docs.unity3d.com
    Show / Hide Table of Contents

    Scene Cache In Timeline

    1. Quick Start
    2. Scene Cache Track
    3. Gap Extrapolation
    4. Scene Cache Playable Asset

    Quick Start

    Menu

    Scene Cache can be controlled via Timeline by performing the following steps:

    1. Open the Timeline window.
    2. In the Timeline Window, click Unity.MeshSync > Scene Cache Track to add a SceneCacheTrack.
    3. Drag and drop the SceneCachePlayer GameObject to the newly added track, which will automatically create a SceneCachePlayableAsset.

    To view animation curves of Scene Cache clips, click the Curves icon next to the Track name.

    Scene Cache Track

    Properties Description
    Auto Activate Object Activate the SceneCachePlayer GameObjects of clips in the track when the clip is active, and deactivate it otherwise.

    Gap Extrapolation

    When Auto Activate Object setting in SceneCacheTrack is turned off, then we can control the SceneCache playback in gaps before or after SceneCache clips in a similar way to setting gap extrapolation for Animation clips using one of the following options:

    1. None (default): undefined.
    2. Hold: hold and show the first/last frame of the Scene Cache in the gap.
    3. Loop: loop the Scene Cache with the same clip duration.
    4. Ping Pong: loop the Scene Cache backwards, then forwards, and so forth, with the same clip duration.
    5. Continue: undefined.

    SceneCachePlayableAsset

    Properties Description
    Scene Cache Player The SceneCachePlayer to be played in Timeline.
    Limited Animation Overrides the Limited Animation properties of the SceneCachePlayer.

    Curve buttons

    Buttons Description
    To Linear Set the animation curve to a linear curve.
    Apply Original Applies the original animation curve from the Scene Cache (.sc) file.
    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