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.
Initializes a new TouchLocation with an ID, state, position, and pressure.
Syntax
'Declaration
Public Sub New ( _
id As Integer, _
state As TouchLocationState, _
position As Vector2 _
)
public TouchLocation (
int id,
TouchLocationState state,
Vector2 position
)
public:
TouchLocation(
int id,
TouchLocationState state,
Vector2 position
)
Parameters
- id
Type: Int32
ID of the new touch ___location. - state
Type: TouchLocationState
State of the new touch ___location. - position
Type: Vector2
Position, in screen coordinates, of the new touch ___location.
Requirements
Namespace: Microsoft.Xna.Framework.Input.Touch
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
TouchLocation Structure
TouchLocation Members
Microsoft.Xna.Framework.Input.Touch Namespace
Platforms
Windows Phone