Sdílet prostřednictvím


SpatialLocatorPositionalTrackingDeactivatingEventArgs Class

Definition

public ref class SpatialLocatorPositionalTrackingDeactivatingEventArgs 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 SpatialLocatorPositionalTrackingDeactivatingEventArgs 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 SpatialLocatorPositionalTrackingDeactivatingEventArgs
Public NotInheritable Class SpatialLocatorPositionalTrackingDeactivatingEventArgs
Inheritance
Object Platform::Object IInspectable SpatialLocatorPositionalTrackingDeactivatingEventArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

Set the Canceled property to true to prevent positional tracking from deactivating due to inactivity.

Properties

Canceled

Gets or sets a value indicating whether to cancel the deactivation of positional tracking due to inactivity.

Applies to