docs.unity.cn
    Show / Hide Table of Contents

    Enum TrackOffset

    Describes what is used to set the starting position and orientation of each Animation Track.

    Namespace: UnityEngine.Timeline
    Syntax
    public enum TrackOffset : int
    Remarks

    By default, each Animation Track uses ApplyTransformOffsets to start from a set position and orientation. To offset each Animation Track based on the current position and orientation in the scene, use ApplySceneOffsets.

    Fields

    Name Description Value
    ApplyTransformOffsets

    Use this setting to offset each Animation Track based on a set position and orientation.

    0
    ApplySceneOffsets

    Use this setting to offset each Animation Track based on the current position and orientation in the scene.

    1
    Auto

    Use this setting to offset root transforms based on the state of the animator.

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Thursday, October 21, 2021