# FieldOfView

Artifact: [androidx.xr.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/xr-runtime) [View Source](https://cs.android.com/search?q=file:androidx/xr/runtime/math/FieldOfView.kt+class:androidx.xr.runtime.math.FieldOfView) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

*** ** * ** ***


```
public final class FieldOfView
```

<br />

*** ** * ** ***

Field of view of a virtual or rendering camera.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#FieldOfView(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)( float angleLeft, float angleRight, float angleUp, float angleDown )` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#copy(kotlin.Float,kotlin.Float,kotlin.Float,kotlin.Float)(float angleLeft, float angleRight, float angleUp, float angleDown)` |
| `boolean` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final float` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#getAngleDown()()` the angle in radians of the bottom edge of the field of view |
| `final float` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#getAngleLeft()()` the angle in radians of the left edge of the field of view |
| `final float` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#getAngleRight()()` the angle in radians of the right edge of the field of view |
| `final float` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#getAngleUp()()` the angle in radians of the top edge of the field of view |
| `int` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#hashCode()()` |
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView#toString()()` Returns a string representation of `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView` for debugging. |

## Public constructors

### FieldOfView

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public FieldOfView(
    float angleLeft,
    float angleRight,
    float angleUp,
    float angleDown
)
```

## Public methods

### copy

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final @NonNull FieldOfView copy(float angleLeft, float angleRight, float angleUp, float angleDown)
```

### equals

```
public boolean equals(Object other)
```

### getAngleDown

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final float getAngleDown()
```

the angle in radians of the bottom edge of the field of view

### getAngleLeft

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final float getAngleLeft()
```

the angle in radians of the left edge of the field of view

### getAngleRight

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final float getAngleRight()
```

the angle in radians of the right edge of the field of view

### getAngleUp

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-runtime#1.0.0)

```
public final float getAngleUp()
```

the angle in radians of the top edge of the field of view

### hashCode

```
public int hashCode()
```

### toString

```
public @NonNull String toString()
```

Returns a string representation of `https://developer.android.com/reference/androidx/xr/runtime/math/FieldOfView` for debugging.

Note: Not intended for production use.