PressableButton.TryGetPressProgress(Single) Method
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.
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.
public bool TryGetPressProgress(out float pokeAmount);
member this.TryGetPressProgress : single -> bool
Public Function TryGetPressProgress (ByRef pokeAmount As Single) As Boolean
Parameters
- pokeAmount
- Single
Returns
Remarks
Excludes any other input mode, such as gaze-pinch, click, or other interactor. Use GetSelectionProgress() to query the overall selectionProgress of this button.