# gvr_rectf Struct Reference

# gvr_rectf

`#include <gvr_types.h>`

A floating point 2D rect.

## Summary

Used for field of view, and also for ranges in texture space. When used for a field of view, all angles are in positive degrees from the optical axis.

| ### Public attributes ||
|---|---|
| `https://developers.google.com/vr/reference/ios-ndk/struct/gvr-rectf#structgvr__rectf_1ab181d11c010055b54733a736b7532b0e` | `float` |
| `https://developers.google.com/vr/reference/ios-ndk/struct/gvr-rectf#structgvr__rectf_1a9e75d96b8bffea79ba44dd15c06dbfe7` | `float` |
| `https://developers.google.com/vr/reference/ios-ndk/struct/gvr-rectf#structgvr__rectf_1af541f15a29d686bb37d8f4fbd18cecdc` | `float` |
| `https://developers.google.com/vr/reference/ios-ndk/struct/gvr-rectf#structgvr__rectf_1a25a52cd5b89b92c37bfa8aa49d12cfca` | `float` |

## Public attributes

### bottom

```
float gvr_rectf::bottom
```

### left

```
float gvr_rectf::left
```

### right

```
float gvr_rectf::right
```

### top

```
float gvr_rectf::top
```