StateManager(List<InteractionState>, BaseInteractiveElement) Constructor
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.
Create a new state manager with a given states scriptable object.
public:
StateManager(System::Collections::Generic::List<Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::InteractionState ^> ^ states, Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::BaseInteractiveElement ^ interactiveElementSource);
public StateManager (System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState> states, Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractiveElement interactiveElementSource);
new Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.StateManager : System.Collections.Generic.List<Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.InteractionState> * Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.BaseInteractiveElement -> Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.StateManager
Public Sub New (states As List(Of InteractionState), interactiveElementSource As BaseInteractiveElement)
Parameters
- states
- List<InteractionState>
List of Interaction States for this state manager to watch
- interactiveElementSource
- BaseInteractiveElement