SpatialInteractionSourceProperties.TryGetLocation(SpatialCoordinateSystem) SpatialInteractionSourceProperties.TryGetLocation(SpatialCoordinateSystem) SpatialInteractionSourceProperties.TryGetLocation(SpatialCoordinateSystem) SpatialInteractionSourceProperties.TryGetLocation(SpatialCoordinateSystem) SpatialInteractionSourceProperties.TryGetLocation(SpatialCoordinateSystem) Method

Definition

Get the position, orientation and velocity of the hand or motion controller, expressed in the specified coordinate system.

public : SpatialInteractionSourceLocation TryGetLocation(SpatialCoordinateSystem coordinateSystem)
SpatialInteractionSourceLocation TryGetLocation(SpatialCoordinateSystem coordinateSystem) const;
public SpatialInteractionSourceLocation TryGetLocation(SpatialCoordinateSystem coordinateSystem)
Public Function TryGetLocation(coordinateSystem As SpatialCoordinateSystem) As SpatialInteractionSourceLocation
var spatialInteractionSourceLocation = spatialInteractionSourceProperties.tryGetLocation(coordinateSystem);

Parameters

coordinateSystem
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The coordinate system in which to express the hand's location.

Returns

Remarks

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