Click or drag to resize

ILayerManagerGetHitTarget Method

Detects if the pointer hits any object in the scene.

Namespace:  TouchScript
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
bool GetHitTarget(
	IPointer pointer,
	out HitData hit
)

Parameters

pointer
Type: TouchScript.PointersIPointer
The pointer.
hit
Type: TouchScript.HitHitData
Hit structure to fill on success.

Return Value

Type: Boolean
True if any object is hit.
See Also