Vector3Ext.Average Method (IEnumerable(Vector3))

Computes the average of a set of vectors.

Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0

Syntax

C#

public static Vector3 Average(
	IEnumerable<Vector3> vectors
)

Parameters

 

vectors
Type: System.Collections.Generic.IEnumerable(Vector3)
Input vectors

Return Value

Type: Vector3
Vector with components averaged

See Also

Reference

Vector3Ext Class
Average Overload
UltimateXR.Extensions.Unity.Math Namespace