# GvrBasePointer.PointerRay

Represents a ray segment for a series of intersecting rays.

## Summary

This is useful for Hybrid raycast mode, which uses two sequential rays.

| ### Public attributes ||
|---|---|
| `https://developers.google.com/vr/reference/unity/struct/GvrBasePointer/PointerRay#structGvrBasePointer_1_1PointerRay_1af56a58b8b9f5b098208ac639f7cc41d9` | `float` Distance that this ray extends to. |
| `https://developers.google.com/vr/reference/unity/struct/GvrBasePointer/PointerRay#structGvrBasePointer_1_1PointerRay_1a9b5e794d6e8057aea169da5452fbb9c5` | `float` The distance along the pointer from the origin of the first ray to this ray. |
| `https://developers.google.com/vr/reference/unity/struct/GvrBasePointer/PointerRay#structGvrBasePointer_1_1PointerRay_1a5a29e463a879b87eda142abe5b83b7a9` | `Ray` The ray for this segment of the pointer. |

## Public attributes

### distance

```c#
float GvrBasePointer::PointerRay::distance
```
Distance that this ray extends to.

### distanceFromStart

```c#
float GvrBasePointer::PointerRay::distanceFromStart
```
The distance along the pointer from the origin of the first ray to this ray.

### ray

```c#
Ray GvrBasePointer::PointerRay::ray
```
The ray for this segment of the pointer.