SpatialEnvironment.SpatialEnvironmentPreference


class SpatialEnvironment.SpatialEnvironmentPreference


Represents the preferred spatial environment for the application.

Summary

Public constructors

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

GltfModel?

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

ExrImage?

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

Public constructors

SpatialEnvironmentPreference

Added in 1.0.0-alpha01
SpatialEnvironmentPreference(skybox: ExrImage?, geometry: GltfModel?)
Parameters
skybox: ExrImage?

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

geometry: GltfModel?

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

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

geometry

Added in 1.0.0-alpha01
val geometryGltfModel?

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

skybox

Added in 1.0.0-alpha01
val skyboxExrImage?

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