FieldOfView


public final class FieldOfView


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

Summary

Public constructors

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

Public methods

final @NonNull FieldOfView
copy(float angleLeft, float angleRight, float angleUp, float angleDown)
boolean
equals(Object other)
final float

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

final float

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

final float

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

final float

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

int
@NonNull String

Public constructors

FieldOfView

Added in 1.0.0-alpha08
public FieldOfView(
    float angleLeft,
    float angleRight,
    float angleUp,
    float angleDown
)

Public methods

copy

Added in 1.0.0-alpha08
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-alpha08
public final float getAngleDown()

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

getAngleLeft

Added in 1.0.0-alpha08
public final float getAngleLeft()

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

getAngleRight

Added in 1.0.0-alpha08
public final float getAngleRight()

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

getAngleUp

Added in 1.0.0-alpha08
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()