Bagikan melalui


SpatialHoldStartedEventArgs Kelas

Definisi

Menyediakan data untuk peristiwa SpatialGestureRecognizer.HoldStarted.

public ref class SpatialHoldStartedEventArgs 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 SpatialHoldStartedEventArgs 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 SpatialHoldStartedEventArgs
Public NotInheritable Class SpatialHoldStartedEventArgs
Warisan
Object Platform::Object IInspectable SpatialHoldStartedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)

Properti

InteractionSourceKind

Mendapatkan jenis sumber interaksi yang terkait dengan gerakan ini.

Metode

TryGetPointerPose(SpatialCoordinateSystem)

Mendapatkan pose pointer yang tersedia, seperti tatapan kepala pengguna dan sinar penunjuk setiap pengontrol gerakan, untuk digunakan dalam menargetkan gerakan ini.

Berlaku untuk