編集

次の方法で共有


StateManager.SetStateOff(String) Method

Definition

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

Applies to