編輯

共用方式為


InputEventData<T>.Initialize Method

Definition

Used to initialize/reset the event and populate the data.

public:
 void Initialize(Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource ^ inputSource, Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Input::MixedRealityInputAction inputAction, T data);
public void Initialize (Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource inputSource, Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction inputAction, T data);
override this.Initialize : Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource * Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction * 'T -> unit
Public Sub Initialize (inputSource As IMixedRealityInputSource, handedness As Handedness, inputAction As MixedRealityInputAction, data As T)

Parameters

handedness
Handedness
data
T

Applies to