cohtml.InputSystem.TouchEventCollection
A class storing a collection of touch input events that can be sent to a CohtmlView component.
Inherits from cohtml.InputSystem.IViewSendable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| TouchEventCollection() | |
| void | Send(CohtmlView view) Sends the touch events collection to a CohtmlView component. |
| void | UpdateActiveStates() Updates the IsActive state of the touch events collection. |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| TouchEvent | this[uint key] Throws an out of range exception if you try to access a TouchEvent with a key that is not in the list. |
| TouchEvent [] | ActiveTouches Returns all active touch events. |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| int | Capacity Returns the maximum count of touch events that can be performed at once. |
| TouchEvent [] | All Returns all touch events. |
Public Functions Documentation
Section titled “Public Functions Documentation”function TouchEventCollection
Section titled “function TouchEventCollection”TouchEventCollection()function Send
Section titled “function Send”void Send( CohtmlView view)Sends the touch events collection to a CohtmlView component.
Parameters:
- view The CohtmlView component to receive the event.
Reimplements: cohtml.InputSystem.IViewSendable.Send
function UpdateActiveStates
Section titled “function UpdateActiveStates”void UpdateActiveStates()Updates the IsActive state of the touch events collection.
Public Property Documentation
Section titled “Public Property Documentation”property this[uint key]
Section titled “property this[uint key]”TouchEvent this[uint key];Throws an out of range exception if you try to access a TouchEvent with a key that is not in the list.
Parameters:
- key The index of the TouchEvent in the collection.
property ActiveTouches
Section titled “property ActiveTouches”TouchEvent [] ActiveTouches;Returns all active touch events.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable Capacity
Section titled “variable Capacity”int Capacity => cohtmlNative.MAX_TRACKING_TOUCHES;Returns the maximum count of touch events that can be performed at once.
variable All
Section titled “variable All”TouchEvent [] All => m_InputTouches;Returns all touch events.
© 2026 Coherent Labs. All rights reserved.