Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ICanvasRaycastFilter

Namespace: UnityEngine

/

Description

This element can filter raycasts. If the top level element is hit it can further 'check' if the location is valid.

Functions

IsRaycastLocationValid Given a point and a camera is the raycast valid.