SpatialInteractionDetectedEventArgs Klasse

Definition

Stellt Daten für das SpatialInteractionManager.InteractionDetected-Ereignis bereit.

public ref class SpatialInteractionDetectedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialInteractionDetectedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialInteractionDetectedEventArgs
Public NotInheritable Class SpatialInteractionDetectedEventArgs
Vererbung
Object Platform::Object IInspectable SpatialInteractionDetectedEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Hinweise

Versionsverlauf

Windows-Version SDK-Version Mehrwert
1703 15063 InteractionSource

Eigenschaften

Interaction

Ruft die erkannte Interaktion für das Routing an einen SpatialGestureRecognizer ab.

InteractionSource

Ruft die spezifische Quelle ab, die der erkannten Interaktion zugeordnet ist.

InteractionSourceKind

Ruft die Art der Quelle ab, die der erkannten Interaktion zugeordnet ist.

Methoden

TryGetPointerPose(SpatialCoordinateSystem)

Ruft die verfügbaren Zeigerhaltungen ab, z. B. die Kopfanzeige des Benutzers und die Zeigerposition jedes Bewegungscontrollers, um diese Interaktion an ein SpatialGestureRecognizer zu leiten.

Gilt für: