Edytuj

Udostępnij za pośrednictwem


BaseInteractiveElement.GetState(String) Method

Definition

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.

Applies to