QuaternionExt.Average Method

Computes the average quaternion from a list.

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

Syntax

C#

public static Quaternion Average(
	IEnumerable<Quaternion> quaternions
)

Parameters

 

quaternions
Type: System.Collections.Generic.IEnumerable(Quaternion)
List of quaternions

Return Value

Type: Quaternion
Average quaternion

Remarks

From https://gamedev.stackexchange.com/questions/119688/calculate-average-of-arbitrary-amount-of-quaternions-recursion

See Also

Reference

QuaternionExt Class
UltimateXR.Extensions.Unity.Math Namespace