OrienterThreeBody.ComputeRotation(IOrientable, IOrientable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
First point
Second point
Returns
Computed rotation weighted by inverse distance between points.