編輯

共用方式為


PhysicalPressEventRouter.OnHandPressTriggered Method

Definition

Gets called when the ButtonPressed event is invoked within the default PressableButton and PressableButtonHoloLens2 components. When the physical press with a hand is triggered, set the physical touch and press state within Interactable.

public:
 void OnHandPressTriggered();
public void OnHandPressTriggered ();
member this.OnHandPressTriggered : unit -> unit
Public Sub OnHandPressTriggered ()

Applies to