This documentation is archived and is not being maintained.
CursorViewModel Class
Represents the presentation logic and state of a Kinect cursor.
public ref class CursorViewModel sealed : IClosable
CursorViewModel has the following members.
| Name | Description |
|---|
| Model | Gets the CursorModel Class associated with the CursorViewModel.
|
| OriginPositionX | Gets the X coordinate of the origin of the sprite, in pixels, within a sprite frame. |
| OriginPositionY | Gets the Y coordinate of the origin of the sprite, in pixels, within a sprite frame. |
| ScaleTransformX | Gets the horizontal scale transform of the sprite. |
| SpriteSheetBackgroundColumn | Gets the column of the current background sprite frame within the sprite sheet. |
| SpriteSheetBackgroundIndex | Gets the index within the sprite sheet of the current background sprite frame. |
| SpriteSheetBackgroundRow | Gets the row of the current background sprite frame within the sprite sheet. |
| SpriteSheetBackgroundX | Gets the X coordinate, in pixels, of the current background sprite frame within the sprite sheet. |
| SpriteSheetBackgroundY | Gets the Y coordinate, in pixels, of the current background sprite frame within the sprite sheet. |
| SpriteSheetForegroundColumn | Gets the column of the current foreground sprite frame within the sprite sheet. |
| SpriteSheetForegroundIndex | Gets the index within the sprite sheet of the current foreground sprite frame. |
| SpriteSheetForegroundRow | Gets the row of the current foreground sprite frame within the sprite sheet. |
| SpriteSheetForegroundX | Gets the X coordinate, in pixels, of the current foreground sprite frame within the sprite sheet. |
| SpriteSheetForegroundY | Gets the Y coordinate, in pixels, of the current foreground sprite frame within the sprite sheet. |
| TintColor | Gets or sets the tint color of a Kinect cursor. |
| Name | Description |
|---|
| Close | Disposes of the object and associated resources. |
- Namespace: Microsoft.Kinect.Toolkit.Input
- Assembly:
(in )