BaseInteractiveElement.GetState(String) Method

Definition

Gets a state by using the state name.

C++
public:
 Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^ GetState(System::String ^ stateName);

Parameters

stateName
String

The name of the state to retrieve

Returns

The state contained in the States list.

Applies to

Produkt Wersje
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0