Editar

Compartilhar via


StateManager.SetState(String, Int32) Method

Definition

Gets and sets state given the state name and state value.

public:
 Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^ SetState(System::String ^ stateName, int value);
public Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState SetState (string stateName, int value);
member this.SetState : string * int -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState
Public Function SetState (stateName As String, value As Integer) As InteractionState

Parameters

stateName
String

The name of the state to set

value
Int32

The new state value

Returns

The state that was set

Applies to