Interactable.ButtonMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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