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


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) 

Тип события

Комментарии

При взаимодействии с руками событие SpatialManipulationStartedEventArgs срабатывает при нажатии пальца, а затем перемещается за пределы небольшой мертвой зоны Manipulation.

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

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