Modifier

Partager via


BaseInteractiveElement.AddNewState(String) Method

Definition

Creates and adds a new state to track given the new state name.

public:
 Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^ AddNewState(System::String ^ stateName);
public Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState AddNewState (string stateName);
member this.AddNewState : string -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState
Public Function AddNewState (stateName As String) As InteractionState

Parameters

stateName
String

The name of the state to add

Returns

The new state added

Applies to