docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct CinemachinePath.Waypoint

    A waypoint along the path

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    [Serializable]
    public struct CinemachinePath.Waypoint

    Fields

    Name Description
    position

    Position in path-local space

    roll

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

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)