Bearbeiten

Freigeben über


Interactable.ConvertToSelectionMode(Int32) Method

Definition

Helper method to convert number of dimensions to the appropriate SelectionModes

public:
 static Microsoft::MixedReality::Toolkit::UI::SelectionModes ConvertToSelectionMode(int dimensions);
public static Microsoft.MixedReality.Toolkit.UI.SelectionModes ConvertToSelectionMode (int dimensions);
static member ConvertToSelectionMode : int -> Microsoft.MixedReality.Toolkit.UI.SelectionModes
Public Shared Function ConvertToSelectionMode (dimensions As Integer) As SelectionModes

Parameters

dimensions
Int32

number of dimensions

Returns

SelectionModes for corresponding number of dimensions

Applies to