InteractableStates Class
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.
list of Interactable states and basic comparison
public ref class InteractableStates : Microsoft::MixedReality::Toolkit::UI::BaseStateModel
public class InteractableStates : Microsoft.MixedReality.Toolkit.UI.BaseStateModel
type InteractableStates = class
inherit BaseStateModel
Public Class InteractableStates
Inherits BaseStateModel
- Inheritance
all |
|
current |
(Inherited from BaseStateModel) |
state |
(Inherited from BaseStateModel) |
Compare |
Compare all state values, set appropriate current State and return that current State |
Current |
Return the current State object (Inherited from BaseStateModel) |
Get |
(Inherited from BaseStateModel) |
Get |
Returns the default states for InteractableStates. Default states are set on an interactable when it is created and no other list of states is specified. Default States should match "DefaultStates" scriptable object in Interactable |
Get |
Get the State object with the given index (Inherited from BaseStateModel) |
Get |
System.Object.GetState(System.Object.InteractableStateEnum) |
Get |
Get list of available States for this State Model |
Get |
Get the value of the state with the given index (Inherited from BaseStateModel) |
Import |
Import the list of states into this state model (Inherited from BaseStateModel) |
Set |
Set the current state to the provided State object (Inherited from BaseStateModel) |
Set |
(Inherited from BaseStateModel) |
Set |
Set the value of the state with given index to off (0) (Inherited from BaseStateModel) |
Set |
System.Object.SetStateOff(System.Object.InteractableStateEnum) |
Set |
Set the value of the state with given index to on (1) (Inherited from BaseStateModel) |
Set |
System.Object.SetStateOn(System.Object.InteractableStateEnum) |
Set |
Set value of state with given index to the provided value (Inherited from BaseStateModel) |
Set |
System.Object.SetStateValue(System.Object.InteractableStateEnum,System.Int32) |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |