TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Hit
HitTest Class
HitTest Methods
IsHit Method
HitTest
IsHit Method
Determines whether a pointer hit the object.
Namespace:
TouchScript.Hit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
virtual
HitResult
IsHit
(
IPointer
pointer
,
HitData
hit
)
Parameters
pointer
Type:
TouchScript.Pointers
IPointer
Pointer to raycast.
hit
Type:
TouchScript.Hit
HitData
Data from a raycast.
Return Value
Type:
HitResult
Hit
if pointer hits the object,
Miss
if it doesn't,
Discard
if it doesn't and this pointer must be ignored, Error otherwise.
See Also
Reference
HitTest Class
TouchScript.Hit Namespace