JxrPlatformAdapter.SpatialEnvironment.SpatialEnvironmentPreference


public class JxrPlatformAdapter.SpatialEnvironment.SpatialEnvironmentPreference


A class that represents the user's preferred spatial environment.

Summary

Public fields

final @Nullable JxrPlatformAdapter.GltfModelResource

The preferred geometry for the environment based on a pre-loaded glTF model.

final @Nullable JxrPlatformAdapter.ExrImageResource

The preferred skybox for the environment based on a pre-loaded EXR Image.

Public methods

boolean
int

Public fields

geometry

Added in 1.0.0-alpha01
public final @Nullable JxrPlatformAdapter.GltfModelResource geometry

The preferred geometry for the environment based on a pre-loaded glTF model. If null, there will be no geometry

skybox

Added in 1.0.0-alpha01
public final @Nullable JxrPlatformAdapter.ExrImageResource skybox

The preferred skybox for the environment based on a pre-loaded EXR Image. If null, it will be all black.

Public constructors

SpatialEnvironmentPreference

Added in 1.0.0-alpha01
public SpatialEnvironmentPreference(
    @Nullable JxrPlatformAdapter.ExrImageResource skybox,
    @Nullable JxrPlatformAdapter.GltfModelResource geometry
)

Public methods

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()