SpatialGestureRecognizer.ManipulationStarted 事件

定義

當互動變成 操作 手勢時發生。

// Register
event_token ManipulationStarted(TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationStartedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialGestureRecognizer::ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, TypedEventHandler<SpatialGestureRecognizer, SpatialManipulationStartedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialGestureRecognizer,SpatialManipulationStartedEventArgs> ManipulationStarted;
function onManipulationStarted(eventArgs) { /* Your code */ }
spatialGestureRecognizer.addEventListener("manipulationstarted", onManipulationStarted);
spatialGestureRecognizer.removeEventListener("manipulationstarted", onManipulationStarted);
- or -
spatialGestureRecognizer.onmanipulationstarted = onManipulationStarted;
Public Custom Event ManipulationStarted As TypedEventHandler(Of SpatialGestureRecognizer, SpatialManipulationStartedEventArgs) 

事件類型

備註

針對手部互動,當手指按下,然後移至小型 Manipulation 死區外部時, SpatialManipulationStartedEventArgs 事件就會引發。

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

適用於