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) 

事件类型

注解

对于手部交互,当 ManipulationStarted 手更新其位置时,将触发 SpatialManipulationUpdatedEventArgs 事件。

对于语音和运动控制器交互,此事件不会触发。

适用于