docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EvaluateOrientationAtUnit

    EvaluateOrientationAtUnit(float, PositionUnits)

    Get the orientation the curve at a point along the path.

    Declaration
    public Quaternion EvaluateOrientationAtUnit(float pos, CinemachinePathBase.PositionUnits units)
    Parameters
    Type Name Description
    float pos

    Postion along the path. Need not be normalized.

    CinemachinePathBase.PositionUnits units

    The unit to use when interpreting the value of pos.

    Returns
    Type Description
    Quaternion

    World-space orientation of the path

    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)