Поделиться через


SpatialGestureRecognizer.ManipulationUpdated Событие

Определение

Происходит при обновлении жеста манипуляции из-за движения руки.

// Register
event_token ManipulationUpdated(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs const&> const& handler) const;

// Revoke with event_token
void ManipulationUpdated(event_token const* cookie) const;

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationUpdated_revoker ManipulationUpdated(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationUpdatedEventArgs> ManipulationUpdated;
function onManipulationUpdated(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationupdated", onManipulationUpdated);
spatialGestureRecognizer.removeEventListener("manipulationupdated", onManipulationUpdated);
- or -
spatialGestureRecognizer.onmanipulationupdated = onManipulationUpdated;
Public Custom Event ManipulationUpdated As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationUpdatedEventArgs) 

Тип события

Комментарии

При взаимодействии с рукой событие SpatialManipulationUpdatedEventArgs срабатывает, когда рука ManipulationStarted обновляет свое положение.

Для взаимодействия с контроллером речи и движением это событие не срабатывает.

Применяется к