Method GetRaycastResultScreenPosition
GetRaycastResultScreenPosition(RaycastResult)
Convert hit point position from world space to the screen space
Declaration
public virtual Vector2 GetRaycastResultScreenPosition(RaycastResult raycastResult)
Parameters
Type | Name | Description |
---|---|---|
RaycastResult | raycastResult | Target raycastResult |
Returns
Type | Description |
---|---|
Vector2 | Raycast hit point in the screen space of eventCamera |