Skip to content

readSystemFlags

readSystemFlags(): Node <"int">

Defined in: packages/three-flatland/src/materials/instanceAttributes.ts:52

Read the raw system-flags bitfield from instanceSystem.z. Bit 0 = lit, bit 1 = receiveShadows, bit 2 = castsShadow, bits 3..23 reserved. Prefer the typed helpers (readLitFlag, etc.) for individual bits — this is the lower-level access used when you need to mask or compare against multiple bits at once.

Node <"int">