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
)

Public functions

FieldOfView
copy(angleLeft: Float, angleRight: Float, angleUp: Float, angleDown: Float)
open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Float

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

Float

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

Float

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

Float

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

Public constructors

FieldOfView

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

Public functions

copy

Added in 1.0.0-alpha08
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-alpha08
val angleDownFloat

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

angleLeft

Added in 1.0.0-alpha08
val angleLeftFloat

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

angleRight

Added in 1.0.0-alpha08
val angleRightFloat

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

angleUp

Added in 1.0.0-alpha08
val angleUpFloat

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