Search Results for

    Show / Hide Table of Contents

    Method ProjectOnPlane

    ProjectOnPlane(Vector3, Vector3)

    Projects a vector onto a plane defined by a normal orthogonal to the plane.

    Declaration
    public static Vector3 ProjectOnPlane(Vector3 vector, Vector3 planeNormal)
    Parameters
    Type Name Description
    Vector3 vector

    The vector to project.

    Vector3 planeNormal

    Normal of the plane, does not assume it is normalized.

    Returns
    Type Description
    Vector3

    The Projection of vector onto plane.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX