init(castsShadow:)
Creates a grounding shadow component.
Declaration
init(castsShadow: Bool)Parameters
- castsShadow:
A Boolean that indicates whether an entity with the component casts a shadow onto other model entities in the scene.
Discussion
By default, the component makes an entity receive grounding shadows from other model entities in the scene.