PartState.shadows ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Property of PartState · stable · since 2.0.0

ts
shadows?: {
  cast?: boolean;
  receive?: boolean;
} | null;

Shadow casting and receiving. Before any rule, a scene model's parts cast and don't receive, { cast: true, receive: false }, as 1.x's loader set them; a collection item's parts start from its shadows (ItemBase). So with no rule only the ground, scenery and product items receive (ShadowSpec's filter base).

Default: unchanged

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: shadows names no product
2. A precedent pass: Unity Renderer.shadowCastingMode (row K60); Unity Renderer.receiveShadows (row K60)
3. Two apps, or labs pass: 21 apps (ledger: app-0c773a4ee3, app-b362a81c85, app-fc07850558, app-fc306ec3dc, app-fd09090420; fleet cross-check: app-04c2774145, app-0c773a4ee3, app-37356bf09f, app-4762caacdc, app-4f16d2f6da, app-59c5b5751e, app-822bb9d6aa, app-8675b3225c and 11 more)
4. The cheaper fix first decided per need in Appendix B: rows K60 at tier stable (a member only where no rule, data, asset or app code serves the need)