PressableButton.PushPlaneLocalPosition 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.
Returns the position of the front press plane of the button, using the overall selectionProgress of the button, which includes all forms of selection enabled on the interactable.
public UnityEngine.Vector3 PushPlaneLocalPosition();
member this.PushPlaneLocalPosition : unit -> UnityEngine.Vector3
Public Function PushPlaneLocalPosition () As Vector3
Returns
Remarks
If only a normalized 0...1 value for selectionProgress is needed, query GetSelectionProgress() instead. Use this to determine the local position of where the front plate of a moving button would be.