Applies objects to terrain. For each layer it instantiates the required number of objects and places them in the position and height prescribed by layer’s input. Object size and rotation are used too, if the object’s layer “Rotate” and “Scale” parameters are checked.
Instantiated objects are grouped as terrain’s child transforms.
Objects Output uses the object pool to instantiate objects faster: when the terrain gets out of generate distance its objects are not destroyed, but used to generate new terrain that appears within generate range. So be careful changing objects that are placed on terrain: a changed object will appear here and there as the player walks across the land. Use a separate prefab to make such unique objects.
Regard Prefab Rotation: in some cases your prefab might have an initial connection (for example, 90 degree X-axis connection for the objects that were exported from 3DS Max). When this feature enabled, the final object rotation will be combined, allowing you to place those objects properly. If it's disabled the prefab instantiated will have (i.e. 0,Y,0) rotation no matter of it's origin transform.
Regard Prefab Scale: same as previous for the scale. If enabled, the final scale will be multiplied with the initial prefab scale. Useful for placing small objects that were upscaled in a prefab.
Instantiate Clones: by default in editor mode new objects will be created maintaining the prefab connection, in playmode objects are instantiating using prefab clones. Enabling this will make MM instantiate objects using prefab clones both in editor and playmode. This will increase the apply speed in editor, but the objects instantiated will loose prefab connections.
Settings mentioned above are static, i.e. shared between all the Object Output Generators in scene (including biomes).
Object Generator input maps are stacked using the layers mode. Each layer could be selected by clicking on it. Above the layers, next to the "Layers:" label you can see layer control buttons:
Add: will add new layer atop of the selected one.
Remove: removes currently selected layer.
Up: will change the layers order by moving the selected layer up.
Down: will change the layers order by moving the selected layer down.
Each layer has these properties:
Prefab field: a prefab that will be instantiated for each input object
Relative Height: if enabled the objects are placed relatively to the terrain level. If the object height level is 0, it will be placed exactly on the terrain, if 13 then it will be placed 13 meters above the terrain. When disabled, the object will be placed relatively to the scene Y zero level: if object level is 13 it will be placed at the height 13 no matter of the terrain height in current position.
Relative Height On / Off
Rotate: will rotate an object around the Y axis according to its rotation value set in the input object's hash.
Incline By Terrain: will force objects to take the terrain normal.
Incline By Terrain On / Off
Scale: will scale an object. If the Y parameter is turned on then the object will be scaled along the Y-axis (height) only. If it is off then the object will be scaled uniformly.