A description of background, lighting, and acoustic properties for a view’s content.


struct Environment


Setting a Background

var background: ARView.Environment.Background

The background for the environment.

struct ARView.Environment.Background

Content that appears as the background of the scene.

Lighting the Environment

var lighting: ARView.Environment.ImageBasedLight

The lighting used in the environment of a particular scene.

struct ARView.Environment.ImageBasedLight

Lighting properties of an environment.

Defining Acoustic Properties

var reverb: ARView.Environment.Reverb

The amount of reverb in the scene.

enum ARView.Environment.Reverb

Reverb characteristics of an environment.

See Also

Providing Environmental Context

var environment: ARView.Environment

The view’s background, lighting, and acoustic properties.

var physicsOrigin: Entity?

The entity that defines the origin of the scene’s physics simulation.

var audioListener: Entity?

The entity that defines the listener position and orientation for spatial audio.