Struct PackedTree
Packed view of the scene tree
Fields
occurrences
OccurrenceList: list of all occurrences of the tree. (Note: all parent occurrences appears before their children, thus the first occurrence is the root)
parents
IntList: specifies the parent index for each occurrence (same index than occurrences). root's parent is -1
names
StringList: name of each occurrence (same index than occurrences)
visible
InheritableBoolList: visibility of each occurrence (same index than occurrences)
materials
MaterialList: material identifier of each occurrence (same index than occurrences)
transformIndices
IntList: indices of transform matrix of each occurrence (same index than occurrences). (Note: Identity matrix is always 0)
transformMatrices
Matrix4List: Matrices referenced by transformIndices. (Note: The first matrix is always Identity)
customProperties
StringPairListList: custom properties of each occurrence (same index than occurrences), pair is name -> value
Functions accepting this type or a list of this type as a parameter:
Namespace: Scene
Syntax