Shadow
ecs.Shadow
Description
The Shadow component defines the shadow behavior of an entity.
Functions
See component schema.
Schema
Property | Type | Default | Required | Description |
---|---|---|---|---|
castShadow | boolean | false | false | Indicates if an entity can cast shadows. |
receiveShadow | boolean | false | false | Indicates if an entity can receive shadows. |