Share via


Orienter.AverageRotation Method

Definition

Compute a new weighted rotation representing the two input weighted rotations.

protected Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation AverageRotation (Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation accum, Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation add);
member this.AverageRotation : Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation * Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation -> Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation
Protected Function AverageRotation (accum As Orienter.WeightedRotation, add As Orienter.WeightedRotation) As Orienter.WeightedRotation

Parameters

accum
Orienter.WeightedRotation

The accumulator rotation.

add
Orienter.WeightedRotation

The rotation to add in.

Returns

A new aggregate weighted rotation.

Applies to