/// <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)); }
/// <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)); }
/// <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); }