Language
Edit

PressableButton.PushPlaneLocalPosition Method

Definition

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

UnityEngine.Vector3

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.

Applies to