編輯

共用方式為


Interactable.GetStateValue(InteractableStates+InteractableStateEnum) Method

Definition

Grabs the state value index, returns -1 if no StateManager available

public:
 int GetStateValue(Microsoft::MixedReality::Toolkit::UI::InteractableStates::InteractableStateEnum state);
public int GetStateValue (Microsoft.MixedReality.Toolkit.UI.InteractableStates.InteractableStateEnum state);
member this.GetStateValue : Microsoft.MixedReality.Toolkit.UI.InteractableStates.InteractableStateEnum -> int
Public Function GetStateValue (state As InteractableStates.InteractableStateEnum) As Integer

Parameters

Returns

Applies to