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 手部更新其位置時引發。

對於語音和動作控制器互動,此事件不會引發。

適用於