ScreenPointToRay
Method
ScreenPointToRay has 2 overloads.
ScreenPointToRay(Vector3)
Returns a ray going from camera through a screen point. Unity docs
Parameters
Parameter | Description |
---|---|
Vector3 pos |
ScreenPointToRay(Vector3, MonoOrStereoscopicEye)
Returns a ray going from camera through a screen point. Unity docs
Parameters
Parameter | Description |
---|---|
Vector3 pos | |
MonoOrStereoscopicEye eye |