AutoMovie API
    Preparing search index...

    Function mergeAutoMovieMeshParts

    • Place rigid members, merge them, and report the index range each one owns.

      A group is what lets one merged draw call still say which triangles are the tread and which the riser, so a finish, a budget or a quantity take-off can address a member after the buffers are concatenated. Groups follow member order; start and count address the merged index buffer, and an unindexed member counts one index per vertex.

      Each member is placed through transformAutoMovieMesh and concatenated by mergeAutoMovieMeshes, so both of their coordinate rules apply here. One member without UVs costs the whole assembly its atlas, and a member placed with a scale keeps coordinates that no longer measure its surface. Reuse is where that bites: placing one built member at several sizes is the economy this function exists for and the case that falsifies a metric atlas, so place a reused atlas-bearing member by translation and rotation only and build a second one where the size differs.

      Throws on a blank or repeated part id and, naming the part, on a malformed index buffer, before any member is placed. Parts are only read.

      Parameters

      Returns IAutoMovieMeshAssembly

      The merged mesh and one group per member.