Click or drag to resize

Group Of Objects

Object In SpaceManual / Base Types / Scene objects / Group Of ObjectsLayer

Group Of Objects

Contents
Overview

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.

Screenshot999999999338.png
Base Objects

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.

Screenshot999999999357 2.png

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.

Screenshot999999999359 2.png

After setting up, the placed objects will take into account the new base objects. For more information on creating objects, click here.

Screenshot999999999360.png
Elements

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.

Screenshot999999999371 2.png
Clear and Update

When an object is selected, you can see three buttons under the properties.

  • The Clear button deletes all data inside the object.
  • The Clear Objects button deletes only objects, leaving the elements of objects.
  • The Update button aligns the position with the base objects. Also, the selected elements and random values of objects, created using Surface, are updated.
Screenshot999999999369 2.png
Properties
Name Description
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.
See also
Object In SpaceLayer