TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Hit
Untouchable Class
Untouchable Methods
IsHit Method
Untouchable
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
override
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
Untouchable Class
TouchScript.Hit Namespace