Scripting API

Scripting API

MeshBaker

Delegate in Abyss.Core, from Abyss.Core.

What a package works out of one mesh of a model as the editor imports it — the shapes a Mesh Collider 3D is made of — kept beside the import and packed with the model, so a game has it rather than working it out as it starts. Null for nothing of that mesh.

public delegate byte[]? MeshBaker(MeshGeometry geometry);

Remarks

Run on a thread of its own, never the engine's; it must not touch a world.

Parameters

  • geometry: The mesh's corners and triangles, as the import holds them.