SpatialGestureRecognizer.NavigationUpdated SpatialGestureRecognizer.NavigationUpdated SpatialGestureRecognizer.NavigationUpdated SpatialGestureRecognizer.NavigationUpdated SpatialGestureRecognizer.NavigationUpdated Event

Definition

Occurs when a Navigation gesture is updated due to hand or motion controller movement.

public : event TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs> NavigationUpdated
// Register
event_token NavigationUpdated(TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs> const& handler) const;

// Revoke with event_token
void NavigationUpdated(event_token const& cookie) const;

// Revoke with event_revoker
NavigationUpdated_revoker NavigationUpdated(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs> NavigationUpdated
Public Event NavigationUpdated As TypedEventHandler (Of SpatialGestureRecognizer, SpatialNavigationUpdatedEventArgs)
function onNavigationUpdated(eventArgs){/* Your code */}


spatialGestureRecognizer.addEventListener("navigationupdated", onNavigationUpdated);
spatialGestureRecognizer.removeEventListener("navigationupdated", onNavigationUpdated);

Remarks

For hand interactions, the SpatialNavigationUpdatedEventArgs event fires when the NavigationStarted hand updates its position.

For voice interactions, this event does not fire.

For motion controller interactions, this event fires when the NavigationStarted controller is moved.