SpatialInteractionSource.TryCreateHandMeshObserverAsync Method

Definition

Requests a HandMeshObserver to provide mesh updates for each frame that tracks the detected shape of a hand.

public:
 virtual IAsyncOperation<HandMeshObserver ^> ^ TryCreateHandMeshObserverAsync() = TryCreateHandMeshObserverAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<HandMeshObserver> TryCreateHandMeshObserverAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<HandMeshObserver> TryCreateHandMeshObserverAsync();
function tryCreateHandMeshObserverAsync()
Public Function TryCreateHandMeshObserverAsync () As IAsyncOperation(Of HandMeshObserver)

Returns

An operation that triggers with a hand mesh observer (if this source supports hand meshes); otherwise, an operation that returns null.

Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

It can take more than a frame to initialize the app's subscription to hand mesh updates.

Applies to