StateManager.AddNewState(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.
Create and add a new state to track given the new state name. Also sets the state's event configuration.
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.InteractionStatePublic Function AddNewState (stateName As String) As InteractionStateParameters
- stateName
- String
The name of the state to add
Returns
The new state added