文档

Unity Engine

Unity Engine

ICanvasRaycastFilter

This element can filter raycasts. If the top level element is hit it can further 'check' if the location is valid.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Interface
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public interface ICanvasRaycastFilter

Methods

Method

Description

IsRaycastLocationValidGiven a point and a camera is the raycast valid.