docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Projection

    Projection(float3)

    Projects the given point onto the plane.

    Declaration
    public float3 Projection(float3 point)
    Parameters
    Type Name Description
    float3 point

    Point to project onto the plane.

    Returns
    Type Description
    float3

    Projected point that's inside the plane.

    Remarks

    Plane must be normalized prior to calling this function. The result is the position closest to the point that still lies in the plane.

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