BaseController.SetupDefaultInteractions Method

Definition

Overloads

SetupDefaultInteractions()

Assign the default interactions based on this controller's handedness, if necessary.

SetupDefaultInteractions(Handedness)
Obsolete.

Assign the default interactions based on controller handedness, if necessary.

SetupDefaultInteractions()

Assign the default interactions based on this controller's handedness, if necessary.

C++
public:
 virtual void SetupDefaultInteractions();

Applies to

MRTK2 Unity 2018 2.7.0 та інші версії
Продукт Версії
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

SetupDefaultInteractions(Handedness)

Caution

The handedness parameter is no longer used. This method now reads from the controller's handedness.

Assign the default interactions based on controller handedness, if necessary.

C++
public:
 virtual void SetupDefaultInteractions(Microsoft::MixedReality::Toolkit::Utilities::Handedness controllerHandedness);

Parameters

controllerHandedness
Handedness
Attributes

Applies to

MRTK2 Unity 2018 2.7.0 та інші версії
Продукт Версії (Застаріло.)
MRTK2 Unity 2018 (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0)
MRTK2 Unity 2019 (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0)
MRTK2 Unity 2020 (2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0)