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