Skip to main content

SkinnedBatchingHelper

A static class in Root.Township, the global namespace.

Helper for skinned mesh batching that matches bones between two skeletons by name.

Methods​

MemberWhat it is
static Dictionary<int, int> GetBoneMapping(Transform[] originalBones, Transform[] targetBones)Maps each original bone index to the index of the same-named bone in the target array (-1 if missing), logging moved ones.