GeneratedFolder
A container that stores ProceduralModel generation results.
| Memory category | BaseParts |
|---|
Member index 1
Description
GeneratedFolder is a container used to represent non-source-of-truth data in
the DataModel. These are branches that are deterministically generated
from other parts of the DataModel instead of containing
source-of-truth data.
GeneratedFolder is primarily used by ProceduralModel to store
generation results. It can also be used by plugins or other tools to organize
generated content.
History 2
- 715 Add SetPrimaryPart
- 715 Add GeneratedFolder
Members 1
SetPrimaryPart
| Parameters (1) | ||
|---|---|---|
| part | BasePart | |
| Returns (1) | ||
| null | ||
This method allows a generator module to specify which part within the
GeneratedFolder should be set as the
PrimaryPart of the ProceduralModel that
results get parented to.
Generation of results happens outside of the DataModel and doesn't have direct access to the ProceduralModel instance being generated. As a result, the generator must use this method instead of setting the PrimaryPart directly.
| Thread safety | Unsafe |
|---|
History 1
- 715 Add SetPrimaryPart