docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsHorizontal

    IsHorizontal(PlaneAlignment)

    Determines whether the plane is horizontal (whether facing up or down).

    Declaration
    public static bool IsHorizontal(this PlaneAlignment alignment)
    Parameters
    Type Name Description
    PlaneAlignment alignment

    The PlaneAlignment being extended.

    Returns
    Type Description
    bool

    true if the plane is horizontal.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023