five-on-it / packages/ai/src/photo / inFrame
Function: inFrame()
inFrame(
sim,eid,point,subjects?):boolean
Defined in: packages/ai/src/photo.ts:39
Whether a point is in the frame of the photo eid takes now (see the module documentation); subjects, when the point is an entity's, are what may stand in the way: the thing photographed (and the car a person sits in).
Parameters
sim
eid
number
point
WorldPoint
subjects?
readonly number[] = []
Returns
boolean