CursorViewModel Class

Represents the presentation logic and state of a Kinect cursor.

public ref class CursorViewModel sealed : IClosable

CursorViewModel has the following members.

NameDescription
CursorViewModelInitializes a new instance of the CursorViewModel class.

NameDescription
ModelGets the CursorModel Class associated with the CursorViewModel.
OriginPositionXGets the X coordinate of the origin of the sprite, in pixels, within a sprite frame.
OriginPositionYGets the Y coordinate of the origin of the sprite, in pixels, within a sprite frame.
ScaleTransformXGets the horizontal scale transform of the sprite.
SpriteSheetBackgroundColumnGets the column of the current background sprite frame within the sprite sheet.
SpriteSheetBackgroundIndexGets the index within the sprite sheet of the current background sprite frame.
SpriteSheetBackgroundRowGets the row of the current background sprite frame within the sprite sheet.
SpriteSheetBackgroundXGets the X coordinate, in pixels, of the current background sprite frame within the sprite sheet.
SpriteSheetBackgroundYGets the Y coordinate, in pixels, of the current background sprite frame within the sprite sheet.
SpriteSheetForegroundColumnGets the column of the current foreground sprite frame within the sprite sheet.
SpriteSheetForegroundIndexGets the index within the sprite sheet of the current foreground sprite frame.
SpriteSheetForegroundRowGets the row of the current foreground sprite frame within the sprite sheet.
SpriteSheetForegroundXGets the X coordinate, in pixels, of the current foreground sprite frame within the sprite sheet.
SpriteSheetForegroundYGets the Y coordinate, in pixels, of the current foreground sprite frame within the sprite sheet.
TintColorGets or sets the tint color of a Kinect cursor.

NameDescription
CloseDisposes of the object and associated resources.

Namespace: Microsoft.Kinect.Toolkit.Input
Assembly: (in )

Community Additions

ADD
Show: