Dela via


OrienterThreeBody.ComputeRotation(IOrientable, IOrientable) Method

Definition

Compute yaw and pitch to align virtual line with physical.

protected override Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation ComputeRotation (Microsoft.MixedReality.WorldLocking.Core.IOrientable a, Microsoft.MixedReality.WorldLocking.Core.IOrientable b);
override this.ComputeRotation : Microsoft.MixedReality.WorldLocking.Core.IOrientable * Microsoft.MixedReality.WorldLocking.Core.IOrientable -> Microsoft.MixedReality.WorldLocking.Core.Orienter.WeightedRotation
Protected Overrides Function ComputeRotation (a As IOrientable, b As IOrientable) As Orienter.WeightedRotation

Parameters

a
IOrientable

First point

b
IOrientable

Second point

Returns

Computed rotation weighted by inverse distance between points.

Applies to