docs.unity.cn
    Show / Hide Table of Contents

    Enum CinemachinePathBase.PositionUnits

    How to interpret the Path Position

    Namespace: Cinemachine
    Syntax
    public enum PositionUnits

    Fields

    Name Description Value
    Distance

    Use Distance Along Path. Path will be sampled according to its Resolution setting, and a distance lookup table will be cached internally

    Normalized

    Normalized units, where 0 is the start of the path, and 1 is the end. Path will be sampled according to its Resolution setting, and a distance lookup table will be cached internally

    PathUnits

    Use PathPosition units, where 0 is first waypoint, 1 is second waypoint, etc

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, August 31, 2022
    Terms of use