FieldOfView


class FieldOfView


Represents the field of view of a virtual (or rendering) camera.

Summary

Public constructors

FieldOfView(
    angleLeft: Float,
    angleRight: Float,
    angleUp: Float,
    angleDown: Float
)

This function is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

Public functions

FieldOfView
copy(angleLeft: Float, angleRight: Float, angleUp: Float, angleDown: Float)

This function is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

open operator Boolean
equals(other: Any?)

This function is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

open Int

This function is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

open String

This function is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

Public properties

Float

This property is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

Float

This property is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

Float

This property is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

Float

This property is deprecated. Use androidx.xr.runtime.math.FieldOfView instead

Public constructors

FieldOfView

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
FieldOfView(
    angleLeft: Float,
    angleRight: Float,
    angleUp: Float,
    angleDown: Float
)

Public functions

copy

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
fun copy(
    angleLeft: Float = this.angleLeft,
    angleRight: Float = this.angleRight,
    angleUp: Float = this.angleUp,
    angleDown: Float = this.angleDown
): FieldOfView

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

angleDown

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
val angleDownFloat

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

angleLeft

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
val angleLeftFloat

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

angleRight

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
val angleRightFloat

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

angleUp

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
val angleUpFloat

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