Class · inherits Folder
GeneratedFolder
A container that stores ProceduralModel generation results.
About GeneratedFolder
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.
Methods 1
SetPrimaryPart
(part: BasePart) → ()Specifies which part within theGeneratedFoldershould be set as thePrimaryPartof theProceduralModel.This method allows a generator module to specify which part within the
GeneratedFoldershould be set as thePrimaryPartof theProceduralModelthat results get parented to.Generation of results happens outside of the
DataModeland doesn't have direct access to theProceduralModelinstance being generated. As a result, the generator must use this method instead of setting thePrimaryPartdirectly.
GeneratedFolder also has every member of Folder. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.