Click or drag to resize

HitTestIsHit 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#
public virtual HitResult IsHit(
	IPointer pointer,
	HitData hit
)

Parameters

pointer
Type: TouchScript.PointersIPointer
Pointer to raycast.
hit
Type: TouchScript.HitHitData
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