Table of Contents

Method GetRaycastResultScreenPosition

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

GetRaycastResultScreenPosition(RaycastResult)

Convert hit point position from world space to the screen space

public Vector2 GetRaycastResultScreenPosition(RaycastResult raycastResult)

Parameters

raycastResult RaycastResult

Target raycastResult

Returns

Vector2

Raycast hit point in the screen space of eventCamera