BaseInteractiveElement.GetState(String) Method
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.
Gets a state by using the state name.
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
Parameters
- stateName
- String
The name of the state to retrieve
Returns
The state contained in the States list.