Share via


SpatialNavigationStartedEventArgs.IsNavigatingZ Property

Definition

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

public:
 property bool IsNavigatingZ { bool get(); };
bool IsNavigatingZ();
public bool IsNavigatingZ { get; }
var boolean = spatialNavigationStartedEventArgs.isNavigatingZ;
Public ReadOnly Property IsNavigatingZ As Boolean

Property Value

Boolean

bool

Whether the gesture involves depth navigation.

Remarks

If the user has moved their hand or motion controller so as to snap to vertical rails, for example, this will return false.

Applies to