Interactable.ButtonMode Property

Definition

Returns the current selection mode of the Interactable based on the number of Dimensions available

public:
 property Microsoft::MixedReality::Toolkit::UI::SelectionModes ButtonMode { Microsoft::MixedReality::Toolkit::UI::SelectionModes get(); };
public Microsoft.MixedReality.Toolkit.UI.SelectionModes ButtonMode { get; }
member this.ButtonMode : Microsoft.MixedReality.Toolkit.UI.SelectionModes
Public ReadOnly Property ButtonMode As SelectionModes

Property Value

Remarks

Returns the following under the associated conditions:

SelectionModes.Invalid => Dimensions less than or equal to 0

SelectionModes.Button => Dimensions == 1

SelectionModes.Toggle => Dimensions == 2

SelectionModes.MultiDimension => Dimensions > 2

Applies to