docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsParallel

    IsParallel(Line, Line, ref Alignment)

    This function check Horizontal or Vertical line for parallel!

    Declaration
    public static bool IsParallel(AutoRouter.Line a, AutoRouter.Line b, ref AutoRouter.Direction.Alignment alignment)
    Parameters
    Type Name Description
    AutoRouter.Line a

    First line

    AutoRouter.Line b

    Second line

    AutoRouter.Direction.Alignment alignment

    Alignment to check for parallel

    Returns
    Type Description
    bool

    True if lines are parallel accoridng to the alignment provided

    In This Article
    Back to top
    Copyright © 2024 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)