five-on-it / packages/sim/src/zones / setZone
Function: setZone()
setZone(
sim,eid,at,reach):void
Defined in: packages/sim/src/zones.ts:267
Puts a zone's twin where a snapshot has it (a client's world): a proxy at its centre with its reach now, never aged here (the next snapshot says how big it is).
Parameters
sim
eid
number
at
x
number
y
number
z
number
reach
number
Returns
void