Documentation

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.
Read time 1 minuteLast updated 2 months 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.