StateManager.SetState(String, Int32) 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.
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