BaseInteractiveElement.AddNewStateWithEventConfiguration Method

Definition

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

Applies to