Documentation - v19.12.0-dev
    Preparing search index...
    • Computes the centroid of the given vectors.

      Parameters

      • vectors: Vector3[]

        The vectors to average.

      • target: Vector3

        The vector that will receive the result.

      Returns Vector3

      The target vector, set to the centroid.