Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Maintains data and state for a pressable Kinect Toolkit input element.
Syntax
public ref class PressableModel sealed : IInputModel, IPressableModel
public sealed class PressableModel : IInputModel, IPressableModel
var pressableModel = Microsoft.Kinect.Toolkit.Input.PressableModel;
Members
PressableModel has the following members.
Constructors
| Name | Description |
|---|---|
| PressableModel | Overloaded. Initializes a new instance of the PressableModel class. |
Properties
| Name | Description |
|---|---|
| CapturedPointerId | Gets the identifier of the KinectPointerPoint Class that has captured the Kinect Toolkit input element. |
| Element | Gets the object that represents the Kinect Toolkit input element. |
| GestureRecognizer | Gets the KinectGestureRecognizer Class associated with the Kinect Toolkit input element. |
| HasCapture | Gets a boolean value indicating if the Kinect Toolkit input element is currently captured. |
| HasCaptureChanged | Gets a boolean value indicating if the capture status of the Kinect Toolkit input element has changed. |
| HoldProgress | Gets a floating point value indicating the progress of a held press gesture. |
| IsHolding | Gets a boolean value indicating whether the Kinect Toolkit input element has a press gesture currently being held. |
| IsManipulatable | Gets a boolean value indicating whether the Kinect Toolkit input element supports manipulation gestures. |
| IsPressingDown | Gets a boolean value indicating whether the Kinect Toolkit input element has a pressing down gesture in progress. |
Methods
| Name | Description |
|---|---|
| Attach | Attaches the Kinect Toolkit input element to the the specified KinectGestureRecognizer Class. |
| CompleteGesture | Finalizes a gesture. |
| Detach | Detaches the Kinect Toolkit input element from the specified KinectGestureRecognizer Class. |
| ProcessPointerMove | Processes the movement of the pointer associated with the Kinect Toolkit input element. |
| SetLocation | Overloaded. Sets the initial position of the pressable Kinect Toolkit input element. |
Events
| Name | Description |
|---|---|
| Holding | Occurs when a press gesture associated with the Kinect Toolkit input element is being held. |
| PressingCompleted | Occurs when a press gesture associated with the Kinect Toolkit input element completes. |
| PressingStarted | Occurs when a press gesture associated with the Kinect Toolkit input element starts. |
| PressingUpdated | Occurs when a press gesture associated with the Kinect Toolkit input element is updated. |
| Tapped | Occurs when the Kinect Toolkit input element is tapped. |
Requirements
Namespace: Microsoft.Kinect.Toolkit.Input
Assembly: (in )