SpatialEnvironment.SpatialEnvironmentPreference


public final class SpatialEnvironment.SpatialEnvironmentPreference


Represents the preferred spatial environment for the application.

Summary

Public constructors

Public methods

boolean
equals(Object other)
final GltfModel

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

final ExrImage

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

int

Public constructors

SpatialEnvironmentPreference

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

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

GltfModel geometry

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

Public methods

equals

public boolean equals(Object other)

getGeometry

Added in 1.0.0-alpha01
public final GltfModel getGeometry()

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

getSkybox

Added in 1.0.0-alpha01
public final ExrImage getSkybox()

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

hashCode

public int hashCode()