Struct CinemachineSmoothPath.Waypoint | Cinemachine | 2.4.0
docs.unity.cn
    Show / Hide Table of Contents

    Struct CinemachineSmoothPath.Waypoint

    A waypoint along the path

    Namespace: Cinemachine
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    [Serializable]
    public struct Waypoint

    Fields

    position

    Position in path-local space

    Declaration
    public Vector3 position
    Field Value
    Type Description
    Vector3

    roll

    Defines the roll of the path at this waypoint.
    The other orientation axes are inferred from the tangent and world up.

    Declaration
    public float roll
    Field Value
    Type Description
    Single
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX