Convert scenes
The SceneConverter
class is a C# implementation. Asset Transformer uses this class to convert GameObject hierarchies from Unity structures into Asset Transformer structures, and vice versa. The SceneConverter keeps track of the correspondences between Asset Transformer entities and Unity objects.
Synchronize materials if required
We recommend that you synchronize materials only if required. The reason is that you may lose information when converting material structures back and forth between Unity and Asset Transformer. Read more.
These examples illustrate situations in which you need to synchronize materials:
- You use a baking algorithm, such as
Algo::Combine
orAlgo::BakeMaps
. - You use features to find occluded geometries, such as the
Algo::HiddenRemoval
function, and you need transparency information.
Workflows
Here are sequence diagrams that showcase these workflows using the SceneConverter
. It has been simplified to only showcase mesh conversions from/to Unity: