LevelObjectsNearOptions
Defined in: client/api.d.ts:8347
Where LevelObjects.near looks and what it keeps.
Properties
Section titled “Properties”center?
Section titled “center?”
optionalcenter?:Vec3
Defined in: client/api.d.ts:8356
Where to measure from. Default: the local player.
hidden?
Section titled “hidden?”
optionalhidden?:boolean
Defined in: client/api.d.ts:8366
true keeps only what the server hides on this client, false only what shows. Default: both.
instances?
Section titled “instances?”
optionalinstances?:boolean
Defined in: client/api.d.ts:8371
Also list each instance of an instanced mesh (one chair of a row) under its own key. Default false.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: client/api.d.ts:8376
At most this many, nearest first: 1 to 500. Default 100.
radius?
Section titled “radius?”
optionalradius?:number
Defined in: client/api.d.ts:8351
Centimetres, up to 20000. Default 1000. Measured to the nearest point of an actor’s bounds (0 inside them), or an instance’s origin.
visible?
Section titled “visible?”
optionalvisible?:boolean
Defined in: client/api.d.ts:8361
true keeps only what drew on screen in the last quarter second (in view and not hidden behind something), false only what did not. An instance counts as on screen when any instance of its mesh drew. Default: both.