Ray
Representation of rays.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Implements: IFormattable
public struct Ray : IFormattable
Remarks
A ray is an infinite line starting at Ray.origin and going in some Ray.direction.
Constructors
Constructor | Description |
|---|---|
| Ray(UnityEngine.Vector3,UnityEngine.Vector3) | Creates a ray starting at |
| Ray(UnityEngine.Vector3@,UnityEngine.Vector3@) | Creates a ray starting at |