This is a bit-field containing a number of different flags; each flag is a bit from the binary equivalent of the decimal integer value. Bits are numbered, starting from the least significant (i.e. right-most), consecutively beginning with 0. For example, the decimal value 21 is 1101 in binary, indicating that bits 0, 2, and 3 are set - all other bits are clear.
It is essential that these flags are scanned since they determine the subsequent formatting of the cell data.
| Bit | Value (Hex) | Value (Dec) | Meaning if set |
|---|---|---|---|
| 0 | 0x01 | 1 | Cell attributes are present. |
| 1 | 0x02 | 2 | Cell joint data (parameters and geometry) is present. |
| 2 | 0x04 | 4 | Cell geometry is present. |
| 3 | 0x08 | 8 | Cell geometry is in matrix form. |
| 4 | 0x10 | 16 | Inherit color from parent. Color attributes are ignored. |
| 5 | 0x20 | 32 | Cell has associated data in AutoMod. TODO - expand on this. |
| 6 | 0x40 | 64 | Bounding box data is present. This feature is only supported in VR Graphics versions. |
Comments
Post new comment