Vertex Viewer SDK
    Preparing search index...

    Function intersectPlane

    • Computes the intersection point of the given ray to the given plane. If the ray does not intersect with the plane, then undefined is returned.

      Parameters

      • ray: Ray.Ray

        The ray to intersect.

      • plane: Plane.Plane

        The plane to intersect with.

      Returns Vector3.Vector3 | undefined

      The intersection point, or undefined if the ray does not intersect.