ICanvasRaycastFilter.IsRaycastLocationValid

声明

public bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera);

参数

sp 屏幕位置。
eventCamera 射线检测相机。

返回值

bool 有效。

描述

给定一个点和一个相机,射线检测是否有效。


Did you find this page useful? Please give it a rating: