SpatialInteractionSourceProperties.TryGetSourceLossMitigationDirection 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.
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.