PointerPointProperties.ZDistance PointerPointProperties.ZDistance PointerPointProperties.ZDistance PointerPointProperties.ZDistance PointerPointProperties.ZDistance Property

Definition

Gets the z-coordinate (or distance) of the pointer from the screen surface, in device-independent pixels.

public : IReference<float> ZDistance { get; }
IReference<float> ZDistance();
public Nullable<float> ZDistance { get; }
Public ReadOnly Property ZDistance As Nullable<float>
var nullable = pointerPointProperties.zDistance;

Property Value

Nullable<float> Nullable<float> Nullable<float>

The value is null when the pointer is not within detection range or when MaxPointersWithZDistance is zero. The default value is null.