Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the presentation logic and state of a Kinect cursor.
Syntax
public ref class CursorViewModel sealed : IClosable
public sealed class CursorViewModel : IDisposable
var cursorViewModel = Microsoft.Kinect.Toolkit.Input.CursorViewModel;
Members
CursorViewModel has the following members.
Constructors
Name | Description |
---|---|
CursorViewModel | Initializes a new instance of the CursorViewModel class. |
Properties
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. |
Methods
Name | Description |
---|---|
Close | Disposes of the object and associated resources. |
Requirements
Namespace: Microsoft.Kinect.Toolkit.Input
Assembly: (in )