AutoMovie API
    Preparing search index...

    Function createLongGun

    • A long gun as a film prop: a carbine with a sliding stock, a pump shotgun, a flintlock musket, a bolt-action rifle or a lever action. It models no effect; the period and repeating kinds' mechanisms are LongGunLock's.

      The gun lies along +Z from its butt plate at the origin to its muzzle, the barrel's line at y = 0. The firing hand takes the grip behind the trigger and the other hand the foreEnd from below; the butt goes to the shoulder. The trigger's face is the length of pull ahead of the butt, as gunmakers measure it. The stock ends behind the grip and a round neck joins it to the receiver: a carbine's fixed buffer tube, a shotgun's wrist. A carbine's stock slides back along its tube to lengthen the pull, carrying the butt; a shotgun's pump slides back, carrying the fore-end.

      Parameters

      • params: createLongGun.IParams

        The kind, a carbine's model and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that picks the model left free and draws every dimension left free inside its band; absent, the first model and the middle of each band.

      Returns Archetype<createLongGun.Affordance, createLongGun.Dimension>

      The long gun.

      For a model not of the kind, a fixed dimension outside its band, or one the model gives.