編輯

共用方式為


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.

public:
 virtual void SetupDefaultInteractions();
public virtual void SetupDefaultInteractions ();
abstract member SetupDefaultInteractions : unit -> unit
override this.SetupDefaultInteractions : unit -> unit
Public Overridable Sub SetupDefaultInteractions ()

Applies to

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.

public:
 virtual void SetupDefaultInteractions(Microsoft::MixedReality::Toolkit::Utilities::Handedness controllerHandedness);
[System.Obsolete("The handedness parameter is no longer used. This method now reads from the controller's handedness.")]
public virtual void SetupDefaultInteractions (Microsoft.MixedReality.Toolkit.Utilities.Handedness controllerHandedness);
[<System.Obsolete("The handedness parameter is no longer used. This method now reads from the controller's handedness.")>]
abstract member SetupDefaultInteractions : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> unit
override this.SetupDefaultInteractions : Microsoft.MixedReality.Toolkit.Utilities.Handedness -> unit
Public Overridable Sub SetupDefaultInteractions (controllerHandedness As Handedness)

Parameters

controllerHandedness
Handedness
Attributes

Applies to