Version: 2017.1

ICanvasRaycastFilter.IsRaycastLocationValid

Switch to Manual
public bool IsRaycastLocationValid (Vector2 sp, Camera eventCamera);

Parameters

sp Screen position.
eventCamera Raycast camera.

Returns

bool Valid.

Description

Given a point and a camera is the raycast valid.