The Cloth sample application is a Microsoft XNA-based application that demonstrates how to use the Core Interaction Framework.
API Concepts Exposed
This sample shows how to use the following Core Interaction Framework state machines:
It also demonstrates the following animations:
Scroll bar thumb
Scroll bar slide and fade
Item and button glow and grow
The key classes from the Core Interaction Framework are UIController and UIElementStateMachine. The key classes from the XNA Framework are Game, GameComponentCollection, and DrawableGameComponent. The key class of the Cloth sample is the UIElement class, which derives from DrawableGameComponent and encapsulates a UIElementStateMachine object.
© Microsoft Corporation. All rights reserved.