LevelObjectInfo
Defined in: client/api.d.ts:8282
A placed object of a loaded level, as this client has it.
Properties
Section titled “Properties”
readonlyactor:string
Defined in: client/api.d.ts:8296
The actor’s name.
bounds?
Section titled “bounds?”
readonlyoptionalbounds?: {center:Vec3;extent:Vec3; } |null
Defined in: client/api.d.ts:8326
An actor’s world-space box: its root’s bounds, extent being half its size. Null when the root has none.
readonlyclass:string
Defined in: client/api.d.ts:8301
The actor’s class.
component?
Section titled “component?”
readonlyoptionalcomponent?:string
Defined in: client/api.d.ts:8306
The instanced component, for one instance’s key.
distance?
Section titled “distance?”
readonlyoptionaldistance?:number
Defined in: client/api.d.ts:8341
From LevelObjects.near: centimetres from where the search was centred.
hidden
Section titled “hidden”
readonlyhidden:boolean
Defined in: client/api.d.ts:8336
Whether this client has it hidden right now.
instance?
Section titled “instance?”
readonlyoptionalinstance?:number
Defined in: client/api.d.ts:8311
The instance, for one instance’s key.
instanced?
Section titled “instanced?”
readonlyoptionalinstanced?:LevelObjectInstances[]
Defined in: client/api.d.ts:8331
An actor’s instanced meshes, whose instances can be hidden one by one.
readonlykey:string
Defined in: client/api.d.ts:8286
What LevelObjects.hide on the server takes; the same on every client.
readonlylevel:string
Defined in: client/api.d.ts:8291
The level’s map name.
readonlymesh:string|null
Defined in: client/api.d.ts:8316
The static mesh it draws (the root’s for an actor), or null when it draws none.
position
Section titled “position”
readonlyposition:Vec3|null
Defined in: client/api.d.ts:8321
World position: the actor’s root, or the instance’s origin.