Share via


KinectGestureRecognizer.ManipulationCompleted Event

Occurs when the input points are lifted and all subsequent motion (translation or zoom) through inertia has ended.

Syntax

public:
event TypedEventHandler<KinectGestureRecognizer, KinectManipulationCompletedEventArgs>^ ManipulationCompleted {
         EventRegistrationToken add (TypedEventHandler<KinectGestureRecognizer, KinectManipulationCompletedEventArgs>^ value);
         void remove (EventRegistrationToken token);
}
public event TypedEventHandler<KinectGestureRecognizer, KinectManipulationCompletedEventArgs> ManipulationCompleted
function onManipulationCompleted(eventArgs) { /* Your code */ }

// addEventListener syntax
kinectGestureRecognizer.addEventListener("manipulationcompleted", onManipulationCompleted);
kinectGestureRecognizer.removeEventListener("manipulationcompleted", onManipulationCompleted);

- or -

kinectGestureRecognizer.onmanipulationcompleted = onManipulationCompleted;

Remarks

Inertia is the tendency of an object to resist any change in its state of rest or its velocity.

This event is raised before inertia processing.

Inertia behavior for this manipulation can be customized in the handler for this event. For example, inertia can be set to end after a specific distance or UI is displayed.

Note

These settings cannot be customized after the event.

Requirements

Namespace: WindowsPreview.Kinect.Input

Metadata: windowspreview.kinect.winmd

See also

Reference

KinectGestureRecognizer Class
WindowsPreview.Kinect.Input Namespace