Share via


CursorViewModel.ScaleTransformX Property

Gets the horizontal scale transform of the sprite.

Syntax

public:
property float32 ScaleTransformX {
         float32 get ();
}
public float ScaleTransformX { get; }
var scaleTransformX = cursorViewModel.scaleTransformX;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: float32
Type: float
Type: Number

 

The horizontal scale transform of the sprite.

Remarks

This property is used to flip the cursor sprite horizontally depending on wether the left or right hand is associated with the cursor.

Requirements

Namespace: Microsoft.Kinect.Toolkit.Input

Assembly: (in )

See also

Reference

CursorViewModel Class
Microsoft.Kinect.Toolkit.Input Namespace