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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for