Udostępnij za pośrednictwem


SpatialNavigationStartedEventArgs Class

Definition

Provides data for the SpatialGestureRecognizer.NavigationStarted event.

public ref class SpatialNavigationStartedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialNavigationStartedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialNavigationStartedEventArgs
Public NotInheritable Class SpatialNavigationStartedEventArgs
Inheritance
Object Platform::Object IInspectable SpatialNavigationStartedEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Properties

InteractionSourceKind

Gets the kind of interaction source associated with this gesture.

IsNavigatingX

Gets whether the navigation gesture the user is performing involves motion on the horizontal axis.

IsNavigatingY

Gets whether the navigation gesture the user is performing involves motion on the vertical axis.

IsNavigatingZ

Gets whether the navigation gesture the user is performing involves motion on the depth axis.

Methods

TryGetPointerPose(SpatialCoordinateSystem)

Gets the available pointer poses, such as the user's head gaze and each motion controller's pointer pose, for use in targeting this gesture.

Applies to