void DrawRay | ( | Vector3 | position, |
Vector3 | localDirection, | ||
Quaternion | rotation | ||
) |
Display the actual ray as a line with the set Color.
The length of the given localDirection determines the drawn line length.
position | The global start position. |
localDirection | The local direction of the ray. |
rotation | The global rotation applied to the local direction. |