PressableButton.TryGetPressProgress(Single) Method
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.
Retrieves the 0..1 amount that the button is currently directly compressed by a finger. Returns true if at least one finger is actively pressing the button; false otherwise.
C#
public bool TryGetPressProgress (out float pokeAmount);
member this.TryGetPressProgress : single -> bool
Public Function TryGetPressProgress (ByRef pokeAmount As Single) As Boolean
- pokeAmount
- Single
Excludes any other input mode, such as gaze-pinch, click, or other interactor. Use GetSelectionProgress() to query the overall selectionProgress of this button.
Proizvod | Verzije |
---|---|
MRTK3 UX Core | 3.0, 3.1, 3.2 |