Skip to main content

StaticObjectCombiner.IncrementalMesh

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Private helper for StaticObjectCombiner that gathers the vertices, triangles and source colliders of every mesh collider on one layer before they are joined into a single collision mesh.

Constructors​

MemberWhat it is
IncrementalMesh()Creates a StaticObjectCombiner.IncrementalMesh with default values.

Properties​

MemberWhat it is
List<Collider> Colliders { get; }The mesh colliders folded into this mesh; they are destroyed once the joined collider is made.
List<int> Indices { get; }Triangle indices, already offset into the combined vertex list.
List<Vector3> Vertices { get; }Vertices moved into the combiner's local space.