SpatialInteractionControllerProperties.TouchpadX 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 a value between -1.0 and 1.0 representing the horizontal position of the user's finger on the touchpad.
public:
property double TouchpadX { double get(); };
double TouchpadX();
public double TouchpadX { get; }
var double = spatialInteractionControllerProperties.touchpadX;
Public ReadOnly Property TouchpadX As Double
Property Value
double
The touchpad X value.
Remarks
This value ranges from -1.0 on the left to 1.0 on the right, with a center of 0.0.
Inspect IsTouchpadTouched before reading this value to ensure that the user is touching the touchpad.
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