StateableModelStateGroups Property |
Namespace: Livit.Learn.Model
The StateGroups element contains various StateGroup an element can have. Only one State can be active in a StateGroup, but the state from two StateGroup can coexist as part of the same StateGroups element.
A collection of StateGroups will define the different visual states that the element can have. These states can be used to activate certain 3D object animations or trigger actions, such as increasing the element's temperature when an incubator is running, for example.
<StateGroups> <StateGroup> <State Id="Open"> ... </State> <State Id="Closed"> ... </State> </StateGroup> <StateGroup> <State Id="Running"> ... </State> <State Id="Stopped"> ... </State> </StateGroup> </StateGroups>