StateManager.SetStateOff(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.
Gets and sets a state to Off and invokes the OnStateDeactivated event. Setting a state off changes the state value to 0.
public:
Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^ SetStateOff(System::String ^ stateName);
public Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState SetStateOff (string stateName);
member this.SetStateOff : string -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState
Public Function SetStateOff (stateName As String) As InteractionState
Parameters
- stateName
- String
The name of the state to set to off
Returns
The state that was set to off