DirectionalLightComponent.Shadow
Shadow configuration nested inside DirectionalLightComponent.
Official Abstract: A directional light component that adds shadows to entities that it illuminates
/// platform availability
iOS / iPadOS
● 13.0
since iOS 13.0
visionOS
● 2.0
since visionOS 2.0
macOS
● 12.0
since macOS 12.0
- visionOS available since 2.0
- macOS available since 12.0
- iOS / iPadOS available since 13.0
/// notes & resources
-
Code-only component
Not listed in Reality Composer Pro Add Component menu. Attach programmatically at runtime.
No notes match this filter.
- DirectionalLightComponent.Shadow | Apple Developer Documentation A directional light component that adds shadows to entities that it illuminates
- Discover RealityKit APIs for iOS, macOS, and visionOS Learn how new cross-platform APIs in RealityKit can help you build immersive apps for iOS, macOS, and visionOS. Check out the new hover...