SpatialInteractionSourceEventArgs
SpatialInteractionSourceEventArgs
SpatialInteractionSourceEventArgs
SpatialInteractionSourceEventArgs
Class
Definition
Provides data for the SpatialInteractionSource Source events.
public : sealed class SpatialInteractionSourceEventArgs : ISpatialInteractionSourceEventArgs, ISpatialInteractionSourceEventArgs2public sealed class SpatialInteractionSourceEventArgs : ISpatialInteractionSourceEventArgs, ISpatialInteractionSourceEventArgs2Public NotInheritable Class SpatialInteractionSourceEventArgs Implements ISpatialInteractionSourceEventArgs, ISpatialInteractionSourceEventArgs2// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Properties
PressKind PressKind PressKind PressKind
Gets the kind of press or release associated with the event.
public : SpatialInteractionPressKind PressKind { get; }public SpatialInteractionPressKind PressKind { get; }Public ReadOnly Property PressKind As SpatialInteractionPressKind// You can use this property in JavaScript.
- Value
- SpatialInteractionPressKind SpatialInteractionPressKind SpatialInteractionPressKind SpatialInteractionPressKind
The press kind.
Additional features and requirements
| Device family |
Windows 10 Creators Update (introduced v10.0.15063.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v4)
|
Remarks
This property is only useful for the SourcePressed and SourceReleased events, as it represents the nature of that particular press or release. For all other Source events, the PressKind will be None.
State State State State
Gets the interaction source state associated with the event.
public : SpatialInteractionSourceState State { get; }public SpatialInteractionSourceState State { get; }Public ReadOnly Property State As SpatialInteractionSourceState// You can use this property in JavaScript.
- Value
- SpatialInteractionSourceState SpatialInteractionSourceState SpatialInteractionSourceState SpatialInteractionSourceState
The interaction source state.