Rule Engine
The Rule Engine is part of the preparation and optimization tools.
Using the Rule Engine, you can define in a rule a sequence of Actions to execute (contrary to the Toolbox, which only runs individual actions), to automate the workflow for preparing, optimizing and staging your models
Rules can be added as a post-process of the import (e.g. it proves very handy to import multiple files that are similar and that require identical processing), but you can also execute rules on any object in your scene, even models that you haven't imported with Asset Transformer Toolkit.
Rules work with filters to define a selection, and modify assets from this selection with Actions (e.g.merging, decimation, and UV creation).
Create Rule Sets
The Rule Engine works with serialized sets of rules. You must first create a set of Rules.
In the project folder, right-click and select Create > Asset Transformer > Rule Set.
Set the name for your Rule Set.
Edit the Rule Set from the dedicated Tab (automatically opens next to the Inspector)
Add items to the sequence, for example Filters, Actions, and Rules.
Rules are applied sequentially, from top to bottom.
Note
The list of Actions that you can access by selecting the Plus sign (+) is dynamic. The available actions depend on the previous conditions in the selected rule.
To run the rule set, for example to test it, select Run. Alternatively, attach the Rule Set to a specific model importer through the the model import window and the Rule Engine tab, so it is executed as a post-process of the import process.