JxrPlatformAdapter.SpatialEnvironment.SpatialEnvironmentPreference


class JxrPlatformAdapter.SpatialEnvironment.SpatialEnvironmentPreference


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

Summary

Public functions

Boolean
equals(o: Any?)
Int

Public properties

JxrPlatformAdapter.GltfModelResource?

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

JxrPlatformAdapter.ExrImageResource?

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

Public constructors

SpatialEnvironmentPreference

Added in 1.0.0-alpha01
SpatialEnvironmentPreference(
    skybox: JxrPlatformAdapter.ExrImageResource?,
    geometry: JxrPlatformAdapter.GltfModelResource?
)

Public functions

equals

fun equals(o: Any?): Boolean

hashCode

fun hashCode(): Int

Public properties

geometry

Added in 1.0.0-alpha01
val geometryJxrPlatformAdapter.GltfModelResource?

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
val skyboxJxrPlatformAdapter.ExrImageResource?

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