Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

BaseRaycaster.Raycast

Switch to Manual
public function Raycast(eventData: EventSystems.PointerEventData, resultAppendList: List<RaycastResult>): void;

Parameters

eventDataCurrent event data.
resultAppendListList of hit Objects.

Description

Raycast against the scene.