lighting visionOS 2

DynamicLightShadowComponent

Enables real-time shadow casting for dynamic light sources.

iOS / iPadOS
18.0
since iOS 18.0
visionOS
2.0
since visionOS 2.0
macOS
15.0
since macOS 15.0
Add Component menu

Not listed in the Add Component menu. Must be attached programmatically at runtime.

entity.components.set(DynamicLightShadowComponent(…))