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

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-alpha13
FieldOfView(
    angleLeft: Float,
    angleRight: Float,
    angleUp: Float,
    angleDown: Float
)

Public functions

copy

Added 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

Public properties

angleDown

Added 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
val angleLeftFloat

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

angleRight

Added 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
val angleUpFloat

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