SerializableTreeNode class is used for serialization of SerializableTreeBase. It stores the details about how each node of the tree is related to their nodes, by integer index. All members are serializable base-type, and none are references.
Most of these values are used to index into array in the main tree class, which is serialized separately, as a simple array.
Public Attributes | |
int | childCount |
Number of child nodes that this node has. | |
int | dataIndex |
Index into SerializableTree's dataList | |
int | indexOfFirstChild |
Index into SerializableTree's serializedNodes list of first child node (other children are consecutive) | |
bool | openForInspection |
Used by the UI to determine if node is expanded or collapsed. | |