Ray
Representation of rays.
阅读时间1 分钟最后更新于 1 个月前
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 |