AutoMovie API
    Preparing search index...

    Variable transformAutoMovieMeshConst

    transformAutoMovieMesh: (
        mesh: IAutoMovieMesh,
        transform: IAutoMovieMeshTransform,
    ) => IAutoMovieMesh = ...

    Place a rigid mesh by translation, unit quaternion, and per-axis scale.

    Positions take the full placement, normals take the inverse transpose (so a non-uniform scale does not tilt them off the surface), and a mirroring scale flips triangle winding so the outward face stays outward. UVs ride along untouched, because a placement moves a surface without re-cutting its atlas. Linear RGB and relief weights follow the same vertex identities and are copied unchanged. Physical correspondence is admitted, copied with its original source pairs, and admitted again on the placed positions, because a placement must not separate aliases on the shared weld grid. Reusing a pair in another placement still asserts one point; a later merge refuses disagreement rather than renaming the physical instance.

    That is what makes a placed member's coordinates local rather than global, and it is the one thing to know before rotating an atlas-bearing member. buildAutoMoviePolyhedron decides each face's frame from world up in the frame the mesh was built in, so a panel built upright and then laid down by a rotation keeps the upright face's frame while presenting a level face. Build the member in the orientation it will be seen in, or accept that its grain travels with it, which is what a real board does when it is turned.

    A rotation is where riding along is free. A scale is not, and it is the one case where carrying the atlas unchanged costs the set its unit. A metric set says one unit is one metre of surface, and a scaled placement stretches the surface while leaving the numbers where they were, so a member built at unit size and placed at three times it reads one metre where the surface now measures three: the finish comes out three times too large, uniformly. A non-uniform scale is worse than wrong by a constant, because each face takes its own factor and the set stops being metric by any single number at all.

    Nothing downstream recovers it. validateTextureScale measures a binding against the part's own coordinate span and never reads a placement, so a scaled member's declaration passes exactly as it did before it was scaled. Author an atlas-bearing member at the size it will be seen at and place it with translation and rotation, or drop coordinateSource on it rather than claiming metres a scale has already falsified.

    Type Declaration

    Error when the mesh is skinned, its indices are incomplete or out of range, its physical correspondence is malformed before or after placement, a placement field is not finite, the rotation is not unit within 1e-6, or a scale component is zero.