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
)

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

Public methods

final @NonNull FieldOfView
copy(float angleLeft, float angleRight, float angleUp, float angleDown)

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

boolean
equals(Object other)

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

final float

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

final float

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

final float

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

final float

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

int

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

@NonNull String

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

Public constructors

FieldOfView

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

Public methods

copy

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

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

getAngleLeft

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
public final float getAngleLeft()

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

getAngleRight

Added in 1.0.0-alpha13
Deprecated in 1.0.0-alpha13
public final float getAngleRight()

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

getAngleUp

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