Table of Contents

Method Raycast

Namespace
YVR.Core
Assembly
YVR.Core.Runtime.dll

Raycast(PointerEventData, List<RaycastResult>)

Processing actual raycast, will be triggered by EventSystem.RaycastAll

public override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)

Parameters

eventData PointerEventData

Data comes from YVRInputModule

resultAppendList List<RaycastResult>

List contains the ray casting result

Raycast(YVRPointerEventData, ICollection<RaycastResult>)

protected virtual void Raycast(YVRPointerEventData eventData, ICollection<RaycastResult> resultAppendList)

Parameters

eventData YVRPointerEventData
resultAppendList ICollection<RaycastResult>