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
    PathUnits

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


    0
    Distance

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


    1
    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


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 8, 2023