Ray
7/14/25Less than 1 minute
Ray
A ray is an infinite line starting at origin and going in some direction. Unity Ray
Members
Properties
| Name | Description |
|---|---|
Ray.direction | The direction of the ray. |
Ray.origin | The origin point of the ray. |
Constructor
| Name | Description |
|---|---|
Ray(origin, direction) |
Methods
| Name | Description |
|---|---|
Ray.GetPoint(distance) | Returns a point at distance units along the ray. |

