Click or drag to resize

UntouchableIsHit 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 override 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