Vertex Viewer SDK
    Preparing search index...

    Function magnitudeSquared

    • Returns the straight-line length from (0, 0, 0) to the given vector).

      When comparing lengths of vectors, you should use this function as it's slightly more efficient to calculate.

      Parameters

      Returns number