Пример #1
0
 /// <summary>
 /// Return the number of touchpoints in the list
 /// </summary>
 /// <param name="list"></param>
 /// <returns>The number of TouchPoints in this TouchList.</returns>
 uint GetTouchCount(PPTouchListType list)
 {
     return(PPBTouchInputEvent.GetTouchCount(this, list));
 }
Пример #2
0
 /// <summary>
 /// Returns the PPTouchPoint in the given list with the given identifier
 /// </summary>
 /// <param name="list">PPTouchList</param>
 /// <param name="id">Id of the touchpoint in the list.</param>
 /// <returns>The TouchPoint in the given list with the given identifier, or an
 /// empty TouchPoint if the list does not contain a TouchPoint with that identifier.
 /// </returns>
 PPTouchPoint GetTouchById(PPTouchListType list, uint id)
 {
     return(PPBTouchInputEvent.GetTouchByIndex(this, list, id));
 }
Пример #3
0
 /// <summary>
 /// Adds the touch-point to the specified TouchList.
 /// </summary>
 /// <param name="list">The list that will be added to</param>
 /// <param name="point">PPTouchPoint to add to the PPTouchList</param>
 void AddTouchPoint(PPTouchListType list, PPTouchPoint point)
 {
     PPBTouchInputEvent.AddTouchPoint(this, list, point);
 }