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. |