Group Of Objects
Group Of Objects is an object in a scene designed to store and display a large number of similar objects.
This object is a container for storing a large number of objects of the same type. The object is opposed to creating scene objects using components. For example, instead of creating a set of Mesh In Space, you can create one Group Of Objects object that will contain several models in the scene. This object has the ability to manage and render a very large number of objects.
Technically, an object contains a linear array of objects data. The array can be updated quickly from the code.
How to work with the object is described in the Scene Editor.
In order to be able to place objects on the surface, you need to configure the base objects, which are defined in the Base Objects property.
For example, Terrain may be a typical base object, in order to be able to place objects on it. To add an object as a base one, go to the Base Objects property, click on '+'. In the drop-down list of properties, increase the value of the Count property by one. Specify Terrain in the added list item. In order to specify an object, you need to click the button in the property and select the desired object in the scene. The second way to configure is to click on the button and drag it to an object in the Objects Window, holding the mouse button.
After setting up, the placed objects will take into account the new base objects. For more information on creating objects, click here.
After creating the objects, the nested components of the elements of the objects appear in the group. The elements have their own settings that affect all objects associated with them.
When an object is selected, you can see three buttons under the properties.
|Visible||Whether the object is visible in the scene.|
|Base Objects||The list of base objects. When creating objects, the editor uses base objects as a background on which objects are placed.|
|Sector Size||The surfaces are used for painting and object creation by means of the brush.|
|Batching||Whether to enable batching rendering optimization. The batching is supported only for non-transparent objects.|