Documentation

Unity Engine


User Manual

Script Reference

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 4 days 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.