handsOf
handsOf(
frames,toScreen,width,height,bodyOf?,aim?):Hand[]
Every player’s hands in stage units, where they aim (the protocol’s aimPoint), times the stage size; bodyOf(frame) is the body to read (null: the frame’s own). Landscape (the default): its wrists through toScreen (player space to screen fractions). Portrait (aim.orientation): the wrists stretched to the whole screen, held by aim.hold if given.
Parameters
Section titled “Parameters”frames
Section titled “frames”readonly PlayerFrame[]
toScreen
Section titled “toScreen”(p) => Point
number
height
Section titled “height”number
bodyOf?
Section titled “bodyOf?”(f) => Body | null
Returns
Section titled “Returns”Hand[]