Vertex Viewer SDK
    Preparing search index...

    Function project

    • Performs a projection of a vector onto onNormal.

      A projection is represented as the nearest point along a normal to a vector, which constructs a triangle from the origin, to the vector, to the projected point.

      Vector -->  *   * <-- Projected
      \
      \ | <-- Normal
      \|
      * <-- Origin

      Parameters

      Returns Vector3.Vector3