Click or drag to resize

PointerEventArgsGetCachedEventArgs Method

Returns cached instance of EventArgs. This cached EventArgs is reused throughout the library not to alocate new ones on every call.

Namespace:  TouchScript
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static PointerEventArgs GetCachedEventArgs(
	IList<Pointer> pointers
)

Parameters

pointers
Type: System.Collections.GenericIListPointer
A list of pointers for event.

Return Value

Type: PointerEventArgs
Cached EventArgs object.
See Also