Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

ICanvasRaycastFilter.IsRaycastLocationValid

public bool IsRaycastLocationValid(Vector2 sp, Camera eventCamera);

Parameters

spScreen position.
eventCameraRaycast camera.

Returns

bool Valid.

Description

Given a point and a camera is the raycast valid.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答