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

    Struct CinemachineTrackedDolly.AutoDolly

    Controls how automatic dollying occurs

    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 AutoDolly

    Constructors

    AutoDolly(Boolean, Single, Int32, Int32)

    Constructor with specific field values

    Declaration
    public AutoDolly(bool enabled, float positionOffset, int searchRadius, int stepsPerSegment)
    Parameters
    Type Name Description
    System.Boolean enabled
    System.Single positionOffset
    System.Int32 searchRadius
    System.Int32 stepsPerSegment

    Fields

    m_Enabled

    If checked, will enable automatic dolly, which chooses a path position that is as close as possible to the Follow target.

    Declaration
    public bool m_Enabled
    Field Value
    Type Description
    System.Boolean

    m_PositionOffset

    Offset, in current position units, from the closest point on the path to the follow target.

    Declaration
    public float m_PositionOffset
    Field Value
    Type Description
    System.Single

    m_SearchRadius

    Search up to how many waypoints on either side of the current position. Use 0 for Entire path

    Declaration
    public int m_SearchRadius
    Field Value
    Type Description
    System.Int32

    m_SearchResolution

    We search between waypoints by dividing the segment into this many straight pieces. The higher the number, the more accurate the result, but performance is proportionally slower for higher numbers

    Declaration
    public int m_SearchResolution
    Field Value
    Type Description
    System.Int32
    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