SpatialInteractionSourceProperties.TryGetLocation 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.
Get the position, orientation and velocity of the hand or motion controller, expressed in the specified coordinate system.
public:
virtual SpatialInteractionSourceLocation ^ TryGetLocation(SpatialCoordinateSystem ^ coordinateSystem) = TryGetLocation;
SpatialInteractionSourceLocation TryGetLocation(SpatialCoordinateSystem const& coordinateSystem);
public SpatialInteractionSourceLocation TryGetLocation(SpatialCoordinateSystem coordinateSystem);
function tryGetLocation(coordinateSystem)
Public Function TryGetLocation (coordinateSystem As SpatialCoordinateSystem) As SpatialInteractionSourceLocation
Parameters
- coordinateSystem
- SpatialCoordinateSystem
The coordinate system in which to express the hand's location.
Returns
The location.
Remarks
This method will return null if the specified coordinate system cannot be located at the moment.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla