Documentation

Unity Engine

Download Unity

Unity Engine

ICanvasRaycastFilter

This element can filter raycasts. If the top level element is hit it can further 'check' if the location is valid.
Read time 1 minuteLast updated a month ago

Definition

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

Methods

Method

Description

IsRaycastLocationValidGiven a point and a camera is the raycast valid.