Share via


SpatialInteractionSourceProperties.TryGetSourceLossMitigationDirection Method

Definition

Gets the direction you should suggest that the user move their hand or motion controller if it is nearing the edge of the detection area.

public:
 virtual IReference<float3> ^ TryGetSourceLossMitigationDirection(SpatialCoordinateSystem ^ coordinateSystem) = TryGetSourceLossMitigationDirection;
IReference<float3> TryGetSourceLossMitigationDirection(SpatialCoordinateSystem const& coordinateSystem);
public System.Nullable<Vector3> TryGetSourceLossMitigationDirection(SpatialCoordinateSystem coordinateSystem);
function tryGetSourceLossMitigationDirection(coordinateSystem)
Public Function TryGetSourceLossMitigationDirection (coordinateSystem As SpatialCoordinateSystem) As Nullable(Of Vector3)

Parameters

coordinateSystem
SpatialCoordinateSystem

The coordinate system in which to express the mitigation direction.

Returns

The mitigation direction vector, or null if there is no mitigation direction.

Remarks

This method will return null if the specified coordinate system cannot be located at the moment.

Applies to