Bagikan melalui


TouchCollection.Count Property

Gets the current number of touch locations for the touch screen.

Namespace: Microsoft.Xna.Framework.Input.Touch
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int Count { get; }

Property Value

Number of current locations. Eight is the maximum number of trackable locations.

See Also

Reference

TouchCollection Structure
TouchCollection Members
Microsoft.Xna.Framework.Input.Touch Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP