PointerPointProperties.ZDistance Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the z-coordinate (or distance) of the pointer from the screen surface, in device-independent pixels.
public:
property IReference<float> ^ ZDistance { IReference<float> ^ get(); };
IReference<float> ZDistance();
public System.Nullable<float> ZDistance { get; }
var iReference = pointerPointProperties.zDistance;
Public ReadOnly Property ZDistance As Nullable(Of Single)
Property Value
The value is null when the pointer is not within detection range or when MaxPointersWithZDistance is zero. The default value is null.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla