• Loops through the dimensions of a vector. Starts at zero, so keep in mind that the number of callbacks will be the dimension sizes +1;

    Parameters

    • vector: Vector3

      Vector to traverse.

    • callback: ((vector: Vector3) => void)

      Callback for each step.

        • (vector): void
        • Parameters

          Returns void

    • step: number = 1

      Step size (default: 1).

    Returns void