AutoMovie API
    Preparing search index...

    Function createMirror

    • A mirror: a framed mirror on a wall, or a standing (cheval) mirror on the floor.

      A wall mirror is one of Bobrick's standard sizes, given or drawn from the seed; it hangs in the XY plane with the wall at z = 0 behind it and its face toward +Z, the bottom of its reflecting surface at the standard's height. A standing mirror stands on the floor at the origin, its panel upright facing +Z on two feet running front to back. face is the reflecting surface, a surface a person stands before and looks into, its +Y out of the glass.

      Parameters

      • params: createMirror.IParams

        The kind, a wall mirror's size and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws a wall mirror's size when it is not given and every dimension left free inside its band; absent, the first size and the middle of each band.

      Returns Archetype<"face", createMirror.Dimension>

      The mirror.

      For a size Bobrick does not list or one named for a standing mirror, a fixed dimension outside its band, or one only another kind has.