TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Layers
StandardLayer Class
StandardLayer Methods
Awake Method
createProjectionParams Method
GetProjectionParams Method
Hit Method
setName Method
updateCamera Method
StandardLayer
Hit Method
Checks if a point in screen coordinates hits something in this layer.
Namespace:
TouchScript.Layers
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
override
HitResult
Hit
(
IPointer
pointer
,
out
HitData
hit
)
Parameters
pointer
Type:
TouchScript.Pointers
IPointer
Pointer.
hit
Type:
TouchScript.Hit
HitData
Hit result.
Return Value
Type:
HitResult
true
, if an object is hit,
Miss
;
false
otherwise.
See Also
Reference
StandardLayer Class
TouchScript.Layers Namespace