Struct CinemachinePath.Waypoint | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct CinemachinePath.Waypoint

    A waypoint along the path

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Cinemachine
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    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
    System.Single

    tangent

    Offset from the position, which defines the tangent of the curve at the waypoint.
    The length of the tangent encodes the strength of the bezier handle.
    The same handle is used symmetrically on both sides of the waypoint, to ensure smoothness.

    Declaration
    public Vector3 tangent
    Field Value
    Type Description
    Vector3
    Back to top
    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