Object collection

Object collection is a layout control which helps you lay out an array of objects in a predefined three-dimensional shape. It supports various surface styles - plane, cylinder, sphere and radial. You can adjust the radius and size of the objects and the space between them. Object collection supports any object from Unity - both 2D and 3D. In the Mixed Reality Toolkit, we have created Unity script and examples that will help you create an object collection.

Object collection used in the Periodic Table of the Elements app
Examples of using object collection

Object collection examples

Periodic Table of the Elements is a sample app that demonstrates how Object collection works. It uses Object collection to lay out 3D chemical element boxes in different shapes.

Object collection examples shown in the Periodic Table of the Elements app
Object collection examples shown in the Periodic Table of the Elements sample app

3D objects

You can use Object collection to lay out imported 3D objects. The example below shows a plane and a cylinder layout of some 3D chair objects.

Examples of plane and cylindrical layouts of 3D objects
Examples of plane and cylindrical layouts of 3D objects

2D objects

You can also use 2D images with Object collection. The examples below demonstrate how 2D images can be displayed in a grid.

An example of 2D images with Object collection

An example of 2D images with Object collection
Examples of using object collection with 2D images

See also