BaseInteractiveElement.AddNewStateWithEventConfiguration 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 given the state name and the associated existing event configuration.
public:
void AddNewStateWithEventConfiguration(System::String ^ stateName, Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractionEventConfiguration ^ eventConfiguration);
public void AddNewStateWithEventConfiguration (string stateName, Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractionEventConfiguration eventConfiguration);
member this.AddNewStateWithEventConfiguration : string * Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractionEventConfiguration -> unit
Public Sub AddNewStateWithEventConfiguration (stateName As String, eventConfiguration As BaseInteractionEventConfiguration)
Parameters
- stateName
- String
The name of the state to create
- eventConfiguration
- BaseInteractionEventConfiguration
The existing event configuration for the new state