@0b5vr/experimental
    Preparing search index...

    Function line3ClosestPointToPoint

    • Return a point that is on the given line which is closest to the given point.

      If segment is true, it will treat the line as a segment which has start and end. Otherwise it will treat the line is infinite.

      Parameters

      • line: RawLine3

        A line

      • point: RawVector3

        A point

      • Optionalsegment: boolean

        Is the line a segment?

      Returns RawVector3