DataPool User Guide

Version 2.13 | Published November 30, 2018 ©


DataMaterialIndex plugin changes the material of the controlled container. The scene must have a DataMaterialTable scene plugin with a defined material table. The DataMaterialIndex plugin uses the indexes of the defined materials in the DataMaterialTable to change the material on the containers. Data format is an index number (integer). The DataMaterialIndex plugin copies the material related to the given index from the table to the controlled container. The controlled container must have material attached to it.



MAT[0-9]=1 2 3 4 5 6 7;

The material on the first child is changed to the material defined in entry 1 in the material table, the second is changed to the material defined in entry 2 of the material table, etc. The last containers (index 7-9) is set to the material defined in index 7 of the table.