Interactable.GetStateValue(InteractableStates+InteractableStateEnum) 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.
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