AutoMovie API
    Preparing search index...

    Variable builtElementRestMatricesConst

    builtElementRestMatrices: (
        environment: IAutoMovieBuiltEnvironment,
    ) => (id: string) => number[] | null = ...

    A lookup from element id to its rest-pose world matrix, tolerant of a record validation has not accepted.

    Each element's world matrix is its parent's world matrix times its own TRS, column-major, with every moving panel and carriage at its authored rest transform rather than displaced by an operating state; that is where a hole and its fill are, whatever state a door is shown in. The lookup answers null for an id the record does not declare, for an element with a missing ancestor, and for an element whose parent chain closes on itself. Prop placement reads it because it runs beside validateBuiltEnvironment and must report its own defects on a record that validation is refusing in the same pass, where builtEnvironmentWorldMatrices would throw. An id declared twice resolves to its first declaration, as a find would; the duplicate is validation's to refuse. Matrices are computed on first request and memoized for the life of the lookup, so a lookup must not outlive a change to the record it was made from.

    Type Declaration