BaseInteractiveElement.GetState(String) Method
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.
Gets a state by using the state name.
C++
public:
Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^ GetState(System::String ^ stateName);
public Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState GetState (string stateName);
member this.GetState : string -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState
Public Function GetState (stateName As String) As InteractionState
- stateName
- String
The name of the state to retrieve
The state contained in the States list.
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 |