protected int Write3D(ByteArray header) { int attrib = 0x0000; if (parent != -1) { attrib |= 1; header.WriteUInt32((uint)parent); } return attrib; }