Contents

DiffuseLightProbeGroupComponent

A component that stores diffuse probe data for a spatial region.

Declaration

struct DiffuseLightProbeGroupComponent

Overview

Attach this component to an entity to designate it as a diffuse probe group — a positioned source of baked diffuse lighting. Other entities can reference this group via DiffuseLightProbeReceiverComponent to receive spatially-varying diffuse illumination.

This follows the same source/receiver pattern as ImageBasedLightComponent / ImageBasedLightReceiverComponent.

let probeGroup = Entity()
probeGroup.components[DiffuseLightProbeGroupComponent.self] =
    DiffuseLightProbeGroupComponent(resource: probeResource)

Topics

Initializers

Instance Properties

See Also

Related Documentation

Lightmaps and light probes