SpatialVisibility


public final class SpatialVisibility


Spatial Visibility states of content within the user's field of view.

Summary

Constants

static final int

The content is fully outside the user's field of view.

static final int

The content is partially within the user's field of view, but not fully inside of it.

static final int

Unknown spatial visibility state.

static final int

The content is fully within the user's field of view.

Public constructors

SpatialVisibility(int visibility)

Public methods

boolean
equals(Object other)
final int
int
@NonNull String

Constants

OUTSIDE_FOV

public static final int OUTSIDE_FOV = 1

The content is fully outside the user's field of view.

PARTIALLY_WITHIN_FOV

public static final int PARTIALLY_WITHIN_FOV = 2

The content is partially within the user's field of view, but not fully inside of it.

UNKNOWN

public static final int UNKNOWN = 0

Unknown spatial visibility state.

WITHIN_FOV

public static final int WITHIN_FOV = 3

The content is fully within the user's field of view.

Public constructors

SpatialVisibility

Added in 1.0.0-alpha04
public SpatialVisibility(int visibility)

Public methods

equals

public boolean equals(Object other)

getVisibility

Added in 1.0.0-alpha04
public final int getVisibility()

hashCode

public int hashCode()

toString

public @NonNull String toString()