MeshPacker
A static class in Root.Township, Alta.Customization.
Merges the meshes of all cosmetic parts into a character's skinned meshes, one per LOD, remapping UVs into each part's place in the texture atlas. Used by CosmeticPacker.
- Listed in Customization and screenshots
Fields
12 private and internal fields
Methods
| Member | What it is |
|---|---|
static async Task Pack(Dictionary<CosmeticPacker.PartId, ICosmeticMeshPartBase> map, Matrix4x4[] defaultBindposes, IEnumerable<CosmeticPacker.Input> parts, Mesh[] targetMeshes, bool? isUsingHeadParts, bool isAlphaBlending, int startingLOD, CancellationToken cancellation) | Merges matching parts (by alpha blending and head or body) into the target meshes; with a head flag it only packs startingLOD. Uses impeded LODs when a part is impeded. |