ItemBase.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 ItemBase · inherited by ItemSpec · stable · since 2.0.0

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

Whether the item casts shadows on the others and the ground, and receives theirs.

Default: { cast: true, receive: true } for role 'product', { cast: false, receive: true } for 'scenery', none for 'helper'

Fields ​

cast ​

ts
cast?: boolean;

Default: as above, by role

receive ​

ts
receive?: boolean;

Default: as above, by role

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: shadows names no product
2. A precedent pass: Unity Light.shadows (row K27); Babylon.js ShadowGenerator (row K27); Unity Renderer.shadowCastingMode (row K34); Unity Renderer.receiveShadows (row K60)
3. Two apps, or labs pass: 10 apps (ledger: app-0c773a4ee3, app-378d190f1b, app-4f16d2f6da, app-510d750508, app-59c5b5751e, app-b362a81c85, app-ceb4eccc72, app-fc07850558 and 2 more)
4. The cheaper fix first decided per need in Appendix B: rows K27, K34, K60 at tier stable (a member only where no rule, data, asset or app code serves the need)