class MAGES::MeshDeformations::WedgeCoordsImporter¶
Overview¶
A custom importer that recognizes .tetuv per-wedge UV sidecars on disk and emits a WedgeCoords main object — mirroring how TetrahedralMeshImporter turns a .msh into a TetrahedralMesh. More…
class WedgeCoordsImporter: public ScriptedImporter
{
public:
// methods
override void OnImportAsset(AssetImportContext ctx);
};
Detailed Documentation¶
A custom importer that recognizes .tetuv per-wedge UV sidecars on disk and emits a WedgeCoords main object — mirroring how TetrahedralMeshImporter turns a .msh into a TetrahedralMesh.
Parsing goes through the frozen TetUvSidecar reader, so every .tetuv already produced by the Bake UVs window imports as a WedgeCoords with no migration. A malformed file imports as an empty asset (logged, never throws) so a bad file does not break the AssetDatabase.