SpatialInteractionControllerProperties Class

Definition

Represents state specific to motion controllers.

public ref class SpatialInteractionControllerProperties sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialInteractionControllerProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialInteractionControllerProperties
Public NotInheritable Class SpatialInteractionControllerProperties
Inheritance
Object Platform::Object IInspectable SpatialInteractionControllerProperties
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Properties

IsThumbstickPressed

Gets whether a motion controller is experiencing a thumbstick press.

IsTouchpadPressed

Gets whether a motion controller is experiencing a touchpad press.

IsTouchpadTouched

Gets whether a motion controller is experiencing a touchpad touch.

ThumbstickX

Gets a value between -1.0 and 1.0 representing the horizontal position of the thumbstick.

ThumbstickY

Gets a value between -1.0 and 1.0 representing the vertical position of the thumbstick.

TouchpadX

Gets a value between -1.0 and 1.0 representing the horizontal position of the user's finger on the touchpad.

TouchpadY

Gets a value between -1.0 and 1.0 representing the vertical position of the user's finger on the touchpad.

Applies to

See also