FieldOfView


public final class FieldOfView


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

Returns a string representation of FieldOfView for debugging.

Public constructors

FieldOfView

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

Public methods

copy

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

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

getAngleLeft

Added in 1.0.0-beta02
public final float getAngleLeft()

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

getAngleRight

Added in 1.0.0-beta02
public final float getAngleRight()

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

getAngleUp

Added in 1.0.0-beta02
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 FieldOfView for debugging.

Note: Not intended for production use.