One Logo Pool Ball
RealityKit · IOS API REFERENCE

ARView.Environment.ImageBasedLight

struct · iOS 13.0+ · SDK 27.1

struct ImageBasedLight

Lighting properties of an environment.

Members (4)

get · iOS 13.0+

intensityExponent

TypeScript
get intensityExponent(): Promise<number>
Swift declaration
var intensityExponent: Float

The intensity value of the light, defined on a logarithmic scale. An intensity factor is computed as `2^intensityExponent`. The computed value modulates the native value specified in the diffuse and specular textures. Set the intensity to `0` to result in a scale factor of `1`. This uses the unmodified texture's diffuse and specular intensities.

set · iOS 13.0+

intensityExponent

TypeScript
setIntensityExponent(value: number): Promise<void>
Swift declaration
var intensityExponent: Float

The intensity value of the light, defined on a logarithmic scale. An intensity factor is computed as `2^intensityExponent`. The computed value modulates the native value specified in the diffuse and specular textures. Set the intensity to `0` to result in a scale factor of `1`. This uses the unmodified texture's diffuse and specular intensities.

get · iOS 13.0+

resource

TypeScript
get resource(): Promise<(_RealityFoundation_EnvironmentResource) | null>
Swift declaration
var resource: EnvironmentResource?

The resource containing lighting information for the image based light.

set · iOS 13.0+

resource

TypeScript
setResource(value?: (_RealityFoundation_EnvironmentResource) | null): Promise<void>
Swift declaration
var resource: EnvironmentResource?

The resource containing lighting information for the image based light.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityKit types →